Adobe COLDFUSION 9 Manual page 520

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
Character
Usage
< >
Left and right angle brackets are reserved for designating operators and modifiers. They are optional for the AND, OR,
and NOT, but required for all other operators.
"
Use double quotation marks in expressions to search for a word that is otherwise reserved as an operator or modifier,
such as AND, OR, and NOT.
\
To include a backslash in a search expression, insert two backslashes for each backslash character that you want
included in the search; for example, C:\\CFusion\\bin.
Operators and modifiers
You are probably familiar with searches containing AND, OR, and NOT. Verity has many additional operators and
modifiers, of various types, that offer you a high degree of specificity in setting search parameters.
Operators
An operator represents logic to be applied to a search element. This logic defines the qualifications that a document
must meet to be retrieved. You can use operators to refine your search or to influence the results in other ways.
For example, you can construct an HTML form for conducting searches. In the form, you can search for a single term.
You can refine the search by limiting the search scope in many ways. Operators are available for limiting a query to a
sentence or paragraph, and you can search words based on proximity.
Ordinarily, you use operators in explicit searches, as follows:
"<operator>search_string"
The following operator types are available:
Operator type
Purpose
Concept
Identifies a concept in a document by combining the meanings of search elements.
Relational
Searches fields in a collection.
Evidence
Specifies basic and intelligent word searches.
Proximity
Specifies the relative location of words in a document.
Score
Manipulates the score returned by a search element. You can set the score percentage display to four decimal
places.
The following table shows the operators, according to type, that are available for conducting searches of ColdFusion
Verity collections:
Concept
Relational
ACCRUE
<
ALL
<=
AND
=
ANY
>
OR
>=
CONTAINS
MATCHES
Evidence
Proximity
STEM
NEAR
WILDCARD
NEAR/N
WORD
PARAGRAPH
THESAURUS
PHRASE
SOUNDEX
SENTENCE
TYPO/N
IN
Last updated 8/5/2010
515
Score
YESNO
PRODUCT
SUM
COMPLEMENT

Advertisement

Table of Contents
loading

Table of Contents