Partial Search, Fuzzy Search Together using Query String

Hello All,

I am trying to implement Google-like search, that supports partial and fuzzy search together, any idea how to implement this using one query and get the more accurate result from both partial and fuzzy search in elastic search?

Regards,
Avinash

Hey,

Is there any concrete reason, why all of this needs to happen within a query string query?

If you want to rank certain matches (like partial ones) over fuzzy ones, you will need to take a look at the bool query and its should clause, and you will likely end up with several different queries.

--Alex

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