Here is my query:
"multi_match":{
"query":"test",
"fields":[
"name^2",
"sortName^2",
"extealId",
"type^0.5"
],
"type":"best_fields",
"tie_breaker":0.3,
"minimum_should_match":"30%",
"fuzziness":"AUTO"
}
My goal is to have the fuzziness working on all fields except "extealId". The reason is that it doesn't make sense to the users to find many results when they are searching for a specific ID.
I would assume that if a field is set to 'not_analyzed' it won't apply the fuzziness, but it seems like that's not the case.
Is there a way to specify in the mapping that a field is not candidate for fuzziness?
