Hi all!
my query:
"query":{
"multi_match":{
"query": "Car",
"fields": ["title"],
"fuzziness": "AUTO"
}
},
got result first with title "Cor" than with "Car"
How can I fix that?
Thanks
Hi all!
my query:
"query":{
"multi_match":{
"query": "Car",
"fields": ["title"],
"fuzziness": "AUTO"
}
},
got result first with title "Cor" than with "Car"
How can I fix that?
Thanks
Use a bool query with 2 should clauses.
One without fuzziness
The other one with
I tried. same =(
"query":{
"bool": {
"should": [
{
"multi_match":{
"query": "Car",
"fields": ["title"]
}
},
{
"multi_match":{
"query": "Car",
"fields": ["title"],
"fuzziness": "AUTO"
}
}
]
}
}
same story
May be boost the first clause ?
tried boost
. same =(
Can you share a full example?
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.