Cfsearch - MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference

Cfml language reference
Table of Contents

Advertisement

Chapter 1: ColdFusion Tags

CFSEARCH

Use the CFSEARCH tag to execute searches against data indexed in Verity collections.
Collections can be created by calling the
Administrator, or through native Verity indexing tools. Collections are populated with
data either with the
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.
CFCOLLECTION
CFINDEX
tag, or externally, using native Verity indexing tools.
tag, by using the ColdFusion
185

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 4.5

Table of Contents