Elasticsearch - Why does Elastic does not support Phrase with fuzziness

I have done sufficient research for applying fuzziness to a phrase but ended up with nothing. I also find few MNC's that use Elasticsearch also fail to apply fuzziness to a phrase. Athough, I can achieve this by span queries. It fails to do so when i have to mention over 100 fields as it has to be iterated over my service layer. Like I see, this would be one of the demands by most of the clients. i wonder why Elastic doesn't support this feature. Is there a specific reason or Am I missing something?




The short answer is because that it can be very expensive to run.
As suggested here, ComplexPhraseQuery is the Lucene query type that can support it but you'd need to write a plugin to expose in Elasticsearch.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.