User Guide
cfsearch 379
cfsearch
Description
Searches one or more Verity collections.
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 MX Administrator
• Using a native Verity indexing tool, such as Vspider or MKVDK. For more information on
Vspider and MKVDK, see Chapter 8, “Introducing Verity and Verity Tools” in Configuring
and Administering ColdFusion MX.
If you use a native Verity tool to create a collection, it must be registered. A collection can be
registered with ColdFusion in the following ways:
• With the cfcollection tag
• In the ColdFusion MX Administrator
A collection can be indexed in the following ways:
• In ColdFusion, with the cfindex tag
• In the ColdFusion MX 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 ColdFusion MX
Developer’s Guide.
Category
Extensibility tags
Syntax
<cfsearch
name = "search_name"
collection = "collection_name"
category = "category[,category2,...]"
categoryTree = "tree_location"
status = ""
type = "criteria"
criteria = "search_expression"
maxRows = "number"
startRow = "row_number"
suggestions = "suggestion_option"
contextPassages = "number_of_passages"
contextBytes = "number_of_bytes"
contextHighlightBegin = "html_string"
contextHighlightEnd = "html_string"
previousCriteria = "criteria"
language = "language">
CHAPTER 2
ColdFusion Tags