Chapter 1: ColdFusion Tags
185
CFSEARCH
Use the CFSEARCH tag to execute searches against data indexed in Verity collections.
Collections can be created by calling the
CFCOLLECTION
tag, by using the ColdFusion
Administrator, or through native Verity indexing tools. Collections are populated with
data either with the
CFINDEX
tag, or externally, using native Verity indexing tools.
Collections must be created and populated before any searches can be executed.
Syntax
<CFSEARCH NAME="search_name"
COLLECTION="collection_name"
TYPE="criteria"
CRITERIA="search_expression"
MAXROWS="number"
STARTROW="row_number"
EXTERNAL="Yes/No"
LANGUAGE="language">
NAME
Required. A name for the search query.
COLLECTION
Required. Specifies the logical collection name that is the target of the search
operation or an external collection with fully qualified path. Collection names are
defined either through the CFCOLLECTION tag or in the ColdFusion
Administrator, Verity page.
Multiple ColdFusion collections can be specified in a comma-separated list:
COLLECTION="CFUSER, CFLANG"
If you are searching an external collection (EXTERNAL="Yes") specify the
collection name, including fully qualified path:
COLLECTION="e:\collections\personnel"
If multiple collections are specified in COLLECTION and EXTERNAL is Yes, the
specified collections must all be externally generated. You cannot combine
internal and external collections in the same search operation.
TYPE
Optional. Specifies the criteria type for the search. Valid entries are:
•
SIMPLE — By default the STEM and MANY operators are used.
•
EXPLICIT — All operators must be invoked explicitly.
CRITERIA
Optional. Specifies the criteria for the search following the syntactic rules
specified by TYPE.
MAXROWS
Optional. Specifies the maximum number of entries for index queries. If omitted,
all rows are returned.
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...