
Using Query Expressions
297
Modifiers
You combine modifiers with operators to change the standard behavior of an
operator in some way. For example, you can use the CASE modifier with an operator
to specify that you want to match the case of the search word.
The following table describes the available modifiers.
Modifier
Description
CASE
Specifies a case-sensitive search. Normally, Verity searches are
case-insensitive for search text entered in all uppercase or all
lowercase, and case-sensitive for mixed-case search strings.
The expression:
<CASE>J[JAVA, java]
Searches for “JAVA” and “Java.”
MANY
Counts the density of words, stemmed variations, or phrases in a
document and produces a relevance-ranked score for retrieved
documents. Use with the following operators:
•
WORD
•
WILDCARD
•
STEM
•
PHRASE
•
SENTENCE
•
PARAGRAPH
Here is an example:
<PARAGRAPH><MANY>javascript <AND> vbscript
You cannot use the MANY modifier with the following:
•
AND
•
OR
•
ACCRUE
•
Relational operators
NOT
Use to exclude documents that contain the specified word or phrase.
Use only with the AND and OR operators.
Here is an example:
Java <AND> programming <NOT> coffee
ORDER
Use to specify that the search elements must occur in the same order
in which they are specified in the query. Use with the following
operators:
•
PARAGRAPH
•
SENTENCE
•
NEAR/N
Place the ORDER modifier before any operator, as follows:
<ORDER><PARAGRAPH>("server", "Java")
Содержание COLDFUSION 5-DEVELOPING
Страница 1: ...Macromedia Incorporated Developing ColdFusion Applications MacroMedia ColdFusion 5 ...
Страница 58: ...38 Chapter 3 Querying a Database ...
Страница 134: ...114 Chapter 7 Updating Your Database ...
Страница 210: ...190 Chapter 10 Reusing Code ...
Страница 232: ...212 Chapter 11 Preventing and Handling Errors ...
Страница 238: ...218 Chapter 12 Using the Application Framework ...
Страница 262: ...242 Chapter 12 Using the Application Framework ...
Страница 278: ...258 Chapter 13 Extending ColdFusion Pages with CFML Scripting ...
Страница 320: ...300 Chapter 15 Indexing and Searching Data ...
Страница 336: ...316 Chapter 16 Sending and Receiving E mail ...
Страница 374: ...354 Chapter 18 Interacting with Remote Servers ...