User Guide

Table Of Contents
598 Chapter 25: Using Verity Search Expressions
The following example uses an evidence operator:
<cfsearch name = "quick_search"
collection="bbb"
type = "explicit"
criteria="<WORD>film">
Proximity operators
Proximity operators specify the relative location of specific words in the document. To retrieve a
document, the specified words must be in the same phrase, paragraph, or sentence. In the case of
NEAR and NEAR/N operators, retrieved documents are ranked by relevance based on the
proximity of the specified words. Proximity operators can be nested; phrases or words can appear
within SENTENCE or PARAGRAPH operators, and SENTENCE operators can appear within
PARAGRAPH operators.
SOUNDEX Expands the search to include the word that you
enter and one or more words that “sound like,”
or whose letter pattern is similar to, the word
specified. Collections do not have sound-alike
indexes by default; to use this feature you must
build sound-alike indexes.
<SOUNDEX> sale retrieves
words such as sale, sell, seal,
shell, soul, and scale.
TYPO/N Expands the search to include the word that you
enter plus words that are similar to the query
term. This operator performs “approximate
pattern matching” to identify similar words. The
optional N variable in the operator name
expresses the maximum number of errors
between the query term and a matched term, a
value called the error distance. If N is not
specified, the default error distance is 2.
<TYPO> swept retrieves kept.
Operator Description Example