I try to make a fuzzy query but it doesn't work.
Can someone help ?

I try to make a fuzzy query but it doesn't work.
Can someone help ?

Hi @Dorian .
Add ~ operator in your query.
{
"query": {
"query_string": {
"default_field": "title",
"query": "faast~",
"fuzziness": 1
}
}
}
Thank you so much man it works.
Can i ask you one more question ?
I try to make a query string like this but i only want documents that have a field between a certain range.
How can i do that ?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.