What is the best way to use Autocorrect (not autosuggest ) in elastic search ? can someone please suggest.
Thanks
What is the best way to use Autocorrect (not autosuggest ) in elastic search ? can someone please suggest.
Thanks
You mean like run a suggest and decide to search on the suggestion automatically if the suggestion looks much much better than what the user typed? You can use _suggest or _search for that.
As per my understanding, suggestion will give relevant word with some fuzziness of characters. But if i misspelled some word , will it autocorrect and give corrected word ?
Some of the cases which we are looking for ( for example pizza hut is a correct word )
Can you please suggest some pointers on this.
Thanks in advance.
I dont think suggester will return. The option i could see is synonym.
I got the same problem with you, and I follow the web site solution, hope it works with yours too.
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.