{
"size":1000,
"query":{
"multi_match":{
"query":"monsoon",
"type": "best_fields",
"fields":["EntityType^4", "Title","Title._2gram","Title._3gram","Title._index_prefix",
"Tags","Tags._2gram","Tags._3gram","Tags._index_prefix"
],
"operator" : "and",
"fuzziness" : "AUTO"
}
}
}
I have used multi-match query with type as best-fields, operator "and" and fuzziness auto.
But when I am searching lets supposes vinay, they vinay is coming at the bottom and vinayaka, vinny, vijay is coming on top. I want the best match comes first then the similar words. as I am using fuzziness bool_prefix type will not be working. Is there a way I can get my desired output???