User Guide
cfindex 193
cfindex
Description
Populates a Verity search engine collection with an index of documents on a file system or of
ColdFusion query result sets.
A collection must exist before it can be populated.
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
<cfindex
collection = "collection_name"
action = "action"
type = "type"
title = "title"
key = "ID"
body = "body"
custom1 = "custom_value"
custom2 = "custom_value"
URLpath = "URL"
extensions = "file_extensions"
query = "query_name"
recurse = "Yes" or "No"
language = "language">
See also
cfcollection, cfexecute, cfobject, cfreport, cfsearch, cfwddx
History
ColdFusion MX:
• The action attribute value optimize is obsolete. It does not work, and might cause an error,
in ColdFusion MX.
• Changed the external attribute behavior: it is not necessary to specify the external
attribute. (ColdFusion automatically detects whether a collection is internal or external.)
• Changed Verity operations behavior: ColdFusion supports Verity operations on Acrobat PDF
files.
• Changed thrown exceptions: this tag can throw the SEARCHENGINE exception.
• Changed acceptable collection naming: this tag accepts collection names that include spaces.
• Changed query result behavior: the cfindex tag can index the query results from a cfsearch
tag.