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
.
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...