Fuzzysearch not working as expected

Hello!
I try to implement fuzzysearch like explained here How to Use Fuzzy Query Matches in Elasticsearch | HackerNoon - but get strange results.

{
  "query": {
    "match" : {
      "term": {
          "query" : "At what age do dogs go into heat?",
          "fuzziness": "5"
      } 
    }
  },
  "size" : 20
}

gives me such results
What does it mean when a dog is in heat? (distance - 23)
What does it mean when a dog is in heat? (distance - 29)
etx

My index is

    "db-terms": {
        "aliases": {},
        "mappings": {
            "properties": {
                "term": {
                    "type": "text",
                    "analyzer": "english"
                }
            }
        },

If I change field to "keyword" it makes as

 "term": {
                    "type": "text",
                    "fields": {
                        "keyword": {
                            "type": "keyword",
                            "ignore_above": 256
                        }
                    }
                }

and result is almost the same

What am I doing wrong ?

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