<CFSEARCH NAME="search_name"
    COLLECTION="collection_name"
    TYPE="criteria"
    CRITERIA="search_expression"
    MAXROWS="number"
    STARTROW="row_number"
    EXTERNAL="Yes/No"
    LANGUAGE="language">

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.

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:

If you are searching an external collection (EXTERNAL="Yes") specify the collection name, including fully qualified path:

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:

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: