MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual page 548

Developing coldfusion mx applications
Table of Contents

Advertisement

Search Results -- should be 1 row <br>
<cfoutput query="GetText_Search">
#GetText_Search.TITLE# <br>
</cfoutput>
Evidence operators
Evidence operators let you specify a basic word search or an intelligent word search. A basic word
search finds documents that contain only the word or words specified in the query. An intelligent
word search expands the query terms to create an expanded word list so that the search returns
documents that contain variations of the query terms.
Documents retrieved using evidence operators are not ranked by relevance unless you use the
MANY modifier.
The following table describes the evidence operators:
Operator
STEM
WILDCARD
WORD
THESAURUS
SOUNDEX
TYPO/N
548
Chapter 25: Using Verity Search Expressions
Description
Expands the search to include the word that
you enter and its variations. The STEM
operator is automatically implied in any
simple query.
Matches wildcard characters included in
search strings. Certain characters
automatically indicate a wildcard
specification, such as apostrophe (*) and
question mark(?).
Performs a basic word search, selecting
documents that include one or more
instances of the specific word that you
enter. The WORD operator is automatically
implied in any SIMPLE query.
Expands the search to include the word that
you enter and its synonyms. Collections do
not have a thesaurus by default; to use this
feature you must build one.
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.
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.
Example
<STEM>believe retrieves matches
such as "believe," "believing,"
and "believer".
spam* retrieves matches such as,
spam, spammer, and spamming.
<WORD> logic retrieves logic, but
not variations such as logical and
logician.
<THESAURUS> altitude retrieves
documents containing synonyms
of the word altitude, such as
height or elevation.
<SOUNDEX> sale retrieves words
such as sale, sell, seal, shell, soul,
and scale.
<TYPO> swept retrieves kept.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents