Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 513

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
When you specify
type="explicit"
result, an individual search term must be in explicit quotation marks. The following table shows valid and invalid
criteria:
Attribute
criteria="government"
criteria="'government'" or
criteria='"government"'
criteria="<WORD>government"
criteria="<STEM>government"
criteria="<MANY><STEM>government"
criteria="<WILDCARD>governmen*"
Using AND, OR, and NOT
Verity has many powerful operators and modifiers available for searching. However, users might use only the most
basic operators—AND, OR, and the modifier NOT. The following are a few important points:
• You can type operators in uppercase or lowercase letters.
• Verity reads operators from left to right.
• The AND operator takes precedence over the OR operator.
• Use parentheses to clarify the search. Terms enclosed in parentheses are evaluated first; innermost parentheses are
evaluated first when there are nested parentheses.
• To search for a literal AND, OR, or NOT, enclose the literal term in double-quotation marks; for example:
love "and" marriage
Note: Although NOT is a modifier, you use it only with the AND and OR operators. Therefore, it is sometimes casually
referred to as an operator.
For more information, see
"Operators and
The following table gives examples of searches and their results:
Search term
doctorate AND nausea
doctorate "and" nausea
"doctorate and nausea"
masters OR doctorate AND nausea
masters OR (doctorate AND nausea)
(masters OR doctorate) AND nausea
masters OR doctorate NOT nausea
the search expression must be a valid Verity Query Language expression. As a
Effect
Generates an error
Finds only government
Finds only government
Finds government, governments, and governmental
Finds government, governments, and governmental ranked by relevance
Finds government, governments, and governmental
modifiers" on page 515.
Returns files that contain
both doctorate and nausea
the phrase doctorate and nausea
the phrase doctorate and nausea
masters, or the combination of doctorate and nausea
masters, or the combination of doctorate and nausea
either masters or doctorate, and nausea
either masters or doctorate, but not nausea
Last updated 1/20/2012
508

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents