Special Characters; Composing Search Expressions - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

168

Special characters

A number of characters are handled in particular ways by the search engine.
Special Search Characters
Characters
, () [
= > <!
' @ ' < {[!
A backslash (\) removes special meaning from whatever character follows it. To enter a
literal backslash in a query, use two in succession, such as this examples:
<FREETEXT>("\"Hello\", said Packard.")
"backslash (\\)"

Composing Search Expressions

The following rules apply for composing search expressions.
Precedence rules
Expressions are read from left to right. The AND operator takes precedence over OR
operators. However, terms enclosed in parenteses are evaluated first. When the search
engine encounters nested parentheses, it starts with the innermost term:
Prefix and infix notation
Search strings that use any operator other than evidence operators can be defined in
prefix notation or infix notation. This means that either of the following expressions is
valid:
AND (a,b)
This is prefix notation
a AND b
This is infix notation
Developing Web Applications with ColdFusion
Description
These characters end a text token.
These characters also end a text token. They are terminated by an
associated end character.
These characters signify the start of a delimited token. They are
terminated by an associated end character.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents