Chapter 11: Indexing and Searching Data
171
•
left curly brace ({)
•
left bracket ([)
•
less than sign (<)
•
backquote (‘ )
In addition to the backslash character, you can use paired backquotes (‘ ‘ ) to interpret
special characters as literals. For example, to search for the wildcard string "a{b" you
can surround the string with backquotes, as follows:
‘a{b‘
To search for a wildcard string that includes the literal backquote character (‘ ) you
must use two backquotes together and surround the whole string in backquotes:
‘*n‘‘t‘
Note that you can use either paired backquotes or backslashes to escape special
characters. There is no functional difference in the use of one or the other. For
example, you can query for the term: <DDA> in the following ways:
\<DDA\> or ‘<DDA>‘
Operators and Modifiers
The power of the CFSEARCH tag is in the control it gives you over the Verity search
engine. The engine offers users 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 a document must meet to be retrieved. Operators are used to refine your
search or to influence the results in other ways. For example, you could construct an
HTML form for conducting searches. In the form, a user could perform a search for a
single term: server. You can refine your search by limiting the search scope in a number
of ways. Operators are available for limiting a query to a sentence or paragraph, and
you can search words based on proximity. The following operator types are available:
•
Evidence operators
— Used to specify basic and intelligent word searches.
•
Proximity operators
— For specifying the relative location of words in a
document.
•
Relational operators
— Search fields in a collection.
•
Concept operators
— Used to identify a concept in a document by combining
the meanings of search elements.
•
Score operators
— Allow you to manipulate the score returned by a search
element. The score percentage display can optionally be set to as many as four
decimal places.
Содержание COLDFUSION 4.5-DEVELOPING WEB
Страница 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Страница 14: ...xiv Developing Web Applications with ColdFusion...
Страница 26: ...xxvi Developing Web Applications with ColdFusion...
Страница 34: ...8 Developing Web Applications with ColdFusion...
Страница 70: ...44 Developing Web Applications with ColdFusion...
Страница 84: ...58 Developing Web Applications with ColdFusion...
Страница 114: ...88 Developing Web Applications with ColdFusion...
Страница 148: ...122 Developing Web Applications with ColdFusion...
Страница 174: ...148 Developing Web Applications with ColdFusion...
Страница 208: ...182 Developing Web Applications with ColdFusion...
Страница 244: ...218 Developing Web Applications with ColdFusion...
Страница 274: ...248 Developing Web Applications with ColdFusion...
Страница 288: ...262 Developing Web Applications with ColdFusion...
Страница 300: ...274 Developing Web Applications with ColdFusion...
Страница 350: ...324 Developing Web Applications with ColdFusion...
Страница 362: ...336 Developing Web Applications with ColdFusion...