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?
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.
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.