MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual page 311

Table of Contents

Advertisement

Using Query Expressions
The following tale describes the evidence operators:
Operator
STEM
WILDCARD
WORD
THESAURUS
SOUNDEX
TYPO/N
Proximity operators
Proximity operators specify the relative location of specific words in the document.
Specified words must be in the same phrase, paragraph, or sentence for a document
to be retrieved. 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.
Description
Expands the search to include the word you enter and its variations.
The STEM operator is automatically implied in any simple query. For
example, the explicit query expression:
<STEM>believe
yields matches such as "believe," "believing," and "believer".
Matches wildcard characters included in search strings. Certain
characters automatically indicate a wildcard specification, such as
apostrophe (*) and question mark(?). For example, the query
expression:
spam*
yields matches such as, "spam," "spammer", and "spamming".
Performs a basic word search, selecting documents that include one
or more instances of the specific word you enter. The WORD
operator is automatically implied in any SIMPLE query.
Expands the search to include the word you enter and its synonyms.
Expands the search to include the word 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 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, an error distance of 2 is used.
291

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents