Fuzzy Search

Fuzzy search will search for terms similar in spelling to the search keyword. Fuzzy query is good for matching similar terms as well as catching misspellings.You can do a fuzzy search using the tilde, "~", symbol at the end of single search keyword. For example,

  • To search for a term similar to soap, you can search using the keyword soap~.

    The search results will contain documents that has "soap", "soup", "soan", "loap", "sap" or "asoap".

For cases in which you want greater or less similarity, an optional similarity ratio can be specified. The similarity ratio is a float ratio written after the tilde,"~" symbol, ranging from 0.0 to 0.999. The default is 0.5. Smaller ratios indicate that less similarity is required. Larger ratios indicate that greater similarity is required. For example,

  • To search for a term exactly similar to soap, you can search using the keyword soap~0.8.

Loading...