Using Similar Spelling Searches

Lucene supports similar spelling searches based on the Levenshtein Distance, or Edit Distance algorithm.

To perform a similar spelling search

  • Use the tilde, "~", symbol at the end of a Single word Term.

Example

To search for a term similar in spelling to "roam" use the similar spelling search

roam~

This search will return terms such as "foam" and "roams".