elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.94k stars 24.74k forks source link

AUTO fuzziness doesn't work for completion suggester #27431

Open honzakral opened 6 years ago

honzakral commented 6 years ago

Elasticsearch version: 6.0

When using auto fuzziness for completion suggester the prefix length is not taken into account so 1 is always used, even for long terms.

jimczi commented 6 years ago

cc @elastic/es-search-aggs

jalberto commented 5 years ago

Also, the sorting still wrong, ES is returning on top the matches with spell errors instead of the exact ones

This issue can be traced back to 2014 (ie: https://github.com/elastic/elasticsearch/issues/7060)

elasticsearchmachine commented 3 months ago

Pinging @elastic/es-search-relevance (Team:Search Relevance)