User Guide
cfsearch 307
cfsearch
Description
Searches Verity collections using ColdFusion or K2Server, whichever search engine a collection is
registered by. (ColdFusion can also search collections that have not been registered, with the
cfcollection tag.)
A collection must be created and indexed before this tag can return search results.
A collection can be created in these ways:
• With the cfcollection tag
• In the ColdFusion Administrator, which calls the cfcollection tag
• Externally, using a native Verity indexing tool, such as Vspider or MKVDK
A collection can be registered with ColdFusion in the following ways:
• With the cfcollection tag
• In the ColdFusion Administrator, which calls the cfcollection tag
A collection can be registered with K2Server by editing the k2server.ini file.
A collection can be indexed in the following ways:
• In ColdFusion, with the cfindex tag
• In the ColdFusion Administrator, which calls the cfindex tag
• Using a native Verity indexing tool, such as Vspider or MKVDK
For more information, see Chapter 24, “Building a Search Interface,” in Developing ColdFusion
MX Applications.
Category
Extensibility tags
Syntax
<cfsearch
name = "search_name"
collection = "collection_name"
type = "criteria"
criteria = "search_expression"
maxRows = "number"
startRow = "row_number"
language = "language">
See also
cfcollection, cfexecute, cfindex, cfobject, cfreport, cfwddx
History
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.