<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.
STARTROW
Optional. Specifies the first row number to be retrieved. Default is 1.
EXTERNAL
Optional. Yes or No. Yes indicates that the collection you are searching was created outside of ColdFusion using native Verity indexing tools. The default is No.
LANGUAGE
Optional. To use the LANGUAGE attribute you must have the ColdFusion International Search Pack installed. Valid entries are:
- English (default)
- German
- Finnish
- French
- Danish
- Dutch
- Italian
- Norwegian
- Portuguese
- Spanish
- Swedish
|