Chapter 15. Full text search 349
15.6.4  Fuzzy and proximity searches
A fuzzy search query searches 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.
15.6.5  Weighted searches (boosting terms)
Follow a search term by a boost value to influence how documents that contain a specified 
term are ranked in the search results. Use the caret symbol (^) with a number (the boost 
factor) at the end of the term. For example, the following query finds documents that include 
the terms IBM and Germany and increases the relevance of these documents by a factor of 
five in the search results:
ibm Germany^5.0
15.7  Troubleshooting tips
If you encounter any problems during full text indexing and searching, investigate the issue by 
looking at the different logs or by using the trace options.
15.7.1  Content Manager OnDemand server log
Each full text indexing operation is registered at the Content Manager OnDemand system log. 
Example 15-4 on page 350 lists a few message numbers with their text.
Note: Special characters, such as punctuation marks, are not alphanumeric characters. 
They are not supported in fuzzy or proximity searches, or they are not hit by a wildcard (*) 
operator.