User Guide

380 Chapter 2: ColdFusion Tags
See also
cfcollection
, cfexecute, cfindex, cfobject, cfreport, cfwddx
History
ColdFusion MX 7:
Added category, categoryTree, status, suggestions, contextPassages, contextBytes,
contextHighlightBegin, contextHighlightEnd, and previousCriteria attributes.
Added author, category, categoryTree, context, rank, size, recordsSearched, and
type result columns.
Added information on the status structure and its associated keys.
Removed references to a separate K2 server and k2server.ini file.
Removed references to unregistered collections.
Removed references to external collections. ColdFusion MX now manages all collections
through the Verity Search service.
Changed cflock recommendation. It is no longer a best practice to surround the cfsearch
tag with a
cflock tag.
ColdFusion MX:
Deprecated the external attribute. It might not work, and might cause an error, in later
releases. (ColdFusion stores this information about each collection; it automatically detects
whether a collection is internal or external.) This tag supports absolute (also known as fully
qualified) collection pathnames and mapped collection names.
Changed query result behavior: the cfindex tag can index the query results from a cfsearch
operation.
Changed Verity operations behavior: ColdFusion supports Verity operations on Acrobat PDF
files.
Changed multiple collection behavior: this tag can search multiple collections. In a multiple
collection search, you cannot combine collections that are registered with K2Server and
registered in another way.
Changed acceptable collection naming: this tag accepts collection names that include spaces.
Changed the following support: this tag supports Verity 2.6.1 and the LinguistX and ICU
locales.
Changed thrown exceptions: this tag can throw the SEARCHENGINE exception.
Attributes
Attribute Req/Opt Default Description
name Required Name of the search query.
collection Required One or more collection names. You can specify more
than one collection unless you are performing a
category search (that is, specifying
category or
categoryTree).