Match Query Fuzziness

Hi everyone,

I'm running into a problem when searching with fuzziness in a match query. The name I want to find is "Şaban Dişli", as seen in the images below, I am querying. But I am not getting results for some queries even though I am always two away. Can you help me with this?

I also use the asciifolding token filter structure.

//correct result is coming.
GET analyze5/_search
{
  "query": {
    
    "bool": {
    
      "should": [
        {
          "match": {
            "fullName": {
              "fuzziness": 2,
              "operator": "AND",
              "query": "şaban dişli"
            }
          }
        }
      ]
    }
  },"size":10000
}
//correct result is coming.
GET analyze5/_search
{
  "query": {
    
    "bool": {
    
      "should": [
        {
          "match": {
            "fullName": {
              "fuzziness": 2,
              "operator": "AND",
              "query": "caban dacli"
            }
          }
        }
      ]
    }
  },"size":10000
}
//correct result is coming.
GET analyze5/_search
{
  "query": {
    
    "bool": {
    
      "should": [
        {
          "match": {
            "fullName": {
              "fuzziness": 2,
              "operator": "AND",
              "query": "mvban dişli"
            }
          }
        }
      ]
    }
  },"size":10000
}

//no results are coming.
GET analyze5/_search
{
  "query": {
    
    "bool": {
    
      "should": [
        {
          "match": {
            "fullName": {
              "fuzziness": 2,
              "operator": "AND",
              "query": "abban dişli"
            }
          }
        }
      ]
    }
  },"size":10000

}
//correct result
{
        "_index" : "analyze5",
        "_type" : "_doc",
        "_id" : "2183101",
        "_score" : 17.339989,
        "_source" : {
          "id" : 2183101,
          "fullName" : "Şaban DİŞLİ",
      
        }
      }

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

Thanks for your answer,
I have edited the topic as you have stated, I request your help.

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script is something anyone can copy and paste in Kibana dev console, click on the run button to reproduce your use case. It will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

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