Fuzzy and proximity searches
A fuzzy search looks for character sequences that are not only the same but similar to the query
term. Use the tilde symbol (~) at the end of a term to perform a fuzzy search. For example, the
following query finds documents that include the terms analytics, analyze, and analysis:
analytics~
An optional parameter can be used to specify the required similarity. Specify a value greater
than 0 and less than 1. The value must be preceded by a 0 and decimal point, for example, 0.8:
analytics~0.8
A value closer to 1 matches terms with a higher similarity. If
the parameter is not specified, the default is 0.5.A proximity search finds documents that contain terms within a specified number of words of each
other. Use the tilde symbol (~) to perform a proximity search. For example, the following query
finds documents that contain “IBM” and “WebSphere” within seven words of each other:
"IBM WebSphere"~7
Proximity search is supported for individual terms, not
phrases. Also, a word after a sentence break is considered 10 positions apart from the last word of
the previous sentence.