- Choose the data you want to index and the indexing options you want
to employ.
- Define the collection name and directory mapping using the Verity Collection
Administrator.
- Determine the means by which your collections will be generated and
how often they will be updated. Collections can be built dynamically at
run time or updated only when the indexed data changes. You may want to
avoid generating a large index at runtime, but smaller indexes can be updated
on the fly without too much impact on the client browser.
For example, technical documentation or corporate policy documents change
relatively infrequently and on a relatively predictable schedule. In this
case, you could craft a Cold Fusion template to update your collections.
These updates could even be automated to run at scheduled intervals.
- Incorporate the CFX_SEARCH tag in your application and create a user
interface such as an HTML form for executing searches.
For example, if you want to give end users the ability to search particular
directories for information, you could build a simple text entry form in
which users enter a search string.
- Build a template to handle output. The results of a CFX_SEARCH are
presented to the user with the CFOUTPUT tag.