I want best matching result comes first with fuzziness: AUTO on

{
   
    "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???

Hi @Rakhshunda_Noorein_J
Could you provide some documents for simulation?


                {
                    "EntityType": "e1",
                     "Name": "Vinay Cements Ltd."
                },
            
            {
                    "EntityType": "e1",
                    "Name": "Vijay Solvex Ltd."
                },
            {
                    "EntityType": "e1",
                    "Name": "Vijay Textiles Ltd."
                },
             {
                    "EntityType": "e2",
                    "Name": "Vinny Overseas Ltd."
                },
            {
                    "EntityType": "e2",
                    "Name": "Vinay JainGÇÖs Training Forum Pvt. Ltd."
                },
            {
                    "EntityType": "e2",
                    "Name": "Vijay Shanthi Builders Ltd."
                },
{
                    "EntityType": "e3",
                    "Name": "Vijay Kedia & Associates"
                },
            {
                    "EntityType": "e3",
                    "Name": "Vijay Hemant Finance & Estates Ltd."
                },
            
            {
                    "EntityType": "F1",
                    "Description": "Love applying technology to use cases. Innovation and simplicity is the mantra!",
                      "Title": "Vinay Ram",
                        "Tags": "@vinayram",
                                   }

for example in these documents vijay, vinny etc are coming and vinay is also coming but not at the top

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.