Closed Seb012007 closed 4 years ago
Do you use 2.1 branch?
Yes I use this : "yiisoft/yii2-elasticsearch": "2.1.x-dev"
I found a workaround for myself but as the term "_suggest" is deprecated in favor of "_search"+ POST parameters I think you should make an update of this.
See : https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html
Regards,
Fixed in #284.
On ElasticSearch 6.5 usage of "_suggest" is deprecated : https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html
What steps will reproduce the problem?
Use Elastic Search 6.5 :
Use
"yiisoft/yii2-elasticsearch": "2.1.x-dev"
Try to use suggest command :
Solution :
On Command.php l.114 if I change :
By :
Everything ok.
May you update this part for Elastic > 6.5 versions? Hox could I override this?
Thanks,
Regards,