MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual page 195

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 11: Indexing and Searching Data
169
When prefix notation is used, precedence is handled explicitly within the expression.
The following example means: "Look for documents that contain b and c first, then
documents that contain a":
OR (a, AND (b,c))
When infix notation is used, precedence is implicit in the expression. For example, the
AND operator takes precedence over the OR operator.
Commas in expressions
If an expression includes two or more search terms within parentheses, a comma is
required as a separator between each element. The following example means: Look for
documents that contain any combination of a and b together. Note that in this
example, angle brackets are used with the OR operator.
<OR> (a, b)
Delimiters in expressions
Angle brackets < >, double quotation marks " ", and backslashes \ are used to delimit
various elements in a query expression.
Angle brackets for operators
Left and right angle brackets < > are reserved for designating operators and modifiers.
They are optional for the AND, OR, and NOT operators, but required for all other
operators.
Double quotation marks in expressions
You use double quotation marks to search for a word that is otherwise reserved as an
operator, such as AND, OR, and NOT.
Backslashes in expressions
To include a backslash \ in a search, insert two backslashes for each backslash
character you want to search for, such as
.
C:\\CFUSION\\BIN

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?

This manual is also suitable for:

Coldfusion 4.5

Table of Contents