You can configure how search works when you perform a fuzzy search query in a custom search tool. Fuzzy search queries look for approximate spellings that match the entered search string, and find matches if you misspell a term, or are uncertain of its spelling. For example, entering “tst" matches terms like "test," "tests," and so on, depending on how the fuzzy search parameters are set.
To set the fuzzy search parameters:
For example, performing a fuzzy search query for the term "catchr" with a degree of fuzziness of 1, finds matches like "catch" (by deleting 1 character) and "catcher" (by adding 1 character), but does not find matches like "catches" (by adding 1 character and replacing 1, which adds up to an edit distance of 2).
For example, performing a fuzzy search query for the term "windwo" with a prefix length of 3, does not apply fuzzy search to the first 3 characters "win," and applies fuzzy search to the rest of the characters to find matches like "window," "winter," "winner," and so on.
For example, performing a fuzzy search query for the term "codngi" with 2 maximum expansion terms, finds only 2 matches like "code" and "coding".
For more information about how Elasticsearch implements fuzzy search queries, go to the Elasticsearch website at elastic.co.