Fuzziness priority

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 :cry:

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.