
Using Query Expressions
295
key="Identifier"
body="TEXT"
query="GetText">
<cfsearch name="GetText_Search"
collection="testcollection"
type="Explicit"
criteria="1990 and CF_TITLE <SUBSTRING> Utah">
<cfoutput>
Record Counts: <br>
#GetText.RecordCount# <br>
#GetText_Search.RecordCount# <br>
</cfoutput>
Query Results --- Should be 5 rows <br>
<cfoutput query="Gettext">
#Identifier# <br>
</cfoutput>
Search Results -- should be 1 row <br>
<cfoutput query="GetText_Search">
#GetText_Search.TITLE# <br>
</cfoutput>
Concept operators
Concept operators combine the meaning of search elements to identify a concept in
a document. Documents retrieved using concept operators are ranked by relevance.
The following table describes each concept operator:
Operator
Description
AND
Selects documents that contain all the search elements you specify.
OR
Selects documents that show evidence of at least one of the search
elements you specify.
ACCRUE
Selects documents that include at least one of the search elements
you specify. Documents are ranked based on the number of search
elements found.
ALL
Selects documents that contain all of the search elements you specify.
A score of 1.00 is assigned to each retrieved document. ALL and AND
retrieve the same results, but queries using ALL are always assigned a
score of 1.00.
ANY
Selects documents that contain at least one of the search elements
you specify. A score of 1.00 is assigned to each retrieved document.
ANY and OR retrieve the same results, but queries using ANY are
always assigned a score of 1.00.
Содержание 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 ...