User Guide

Table Of Contents
548 Chapter 24: Building a Search Interface
The ColdFusion implementation of Verity supports collections of the following basic data types:
Text files such as HTML pages and CFML pages
Binary documents (see “Supported file types” on page 549)
Record sets returned from a query and CF query object, including: cfquery, cfldap, and
cfpop queries
You can build collections from individual documents or from an entire directory tree. Collections
can be stored anywhere, so you have a great deal of flexibility in accessing indexed data.
In your ColdFusion application, you can search multiple collections, each of which can focus on a
specific group of documents or queries, according to subject, document type, location, or any
other logical grouping. Because you can perform searches against multiple collections, you have
substantial flexibility in designing your search interface.
Using Verity with ColdFusion
Here are some ways to use Verity with ColdFusion:
Index your website and provide a generalized search mechanism, such as a form interface, for
executing searches.
Index specific directories that contain documents for subject-based searching.
Index specific categories of documents. By organizing your documents into categories, you can
let users search specific types of documents. For example, if your website contains FAQs,
documentation, and tutorials, you can create a search that lets users search within each of these
categories.
Index cfquery record sets, giving users the ability to search against the data. Because
collections contain data optimized for retrieval, this method is much faster than performing
multiple database queries to return the same data.
Index cfldap and cfpop query results.
Manage and search collections generated outside of ColdFusion using native Verity tools.
Collections must be registered with the Verity K2 administration service. To do this you must
either use the Verity tools, or map the collection using the
cfcollection tag.
Index e-mail generated by ColdFusion application pages and create a searching mechanism for
the indexed messages.
Build collections of inventory data and make those collections available for searching from
your ColdFusion application pages.
Support international users in a range of languages using the cfindex, cfcollection, and
cfsearch tags.