Creating Collections
The first step in creating a
search interface for your ColdFusion application is to define a
Verity collection and register it with ColdFusion. A Verity
collection is actually a specialized database that stores metadata
about a group of documents or a ColdFusion query object that you
specify. Instead of searching through each of your documents or query
objects every time a search is performed, Verity searches through the
metadata stored in the collection you created. Because the metadata
is highly optimized, Verity can quickly and efficiently locate your
search criteria. Collections can be created and subsequently
registered via the ColdFusion Administrator or created
programmatically with the cfcollection
tag or via
command-line utilities such as Verity’s
mkvdk or Spider tools.
Consult your ColdFusion documentation for more information on
creating and indexing collections with Verity’s
command-line tools.
Creating Collections with the ColdFusion Administrator
Creating a Verity collection using the ColdFusion Administrator is a quick and painless process. The steps for creating a new collection in the ColdFusion Administrator are as follows:
Click on the Verity Collections link in the Data & Services section of the ColdFusion Administrator.
Type a unique name for the new collection in the Name text box under the Add New Verity Collections section. Names should contain only letters, numbers, and underscores. In ColdFusion MX, collection names may now contain ...
Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.