Populating And Indexing A Collection; Selecting An Indexing Method - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 11: Indexing and Searching Data

Populating and Indexing a Collection

At this point, the new collection is just an empty shell. To populate the collection with
indexed data, you can use either of two methods:
The CF Administrator
The CFINDEX tag
You can use the Verity Wizard in ColdFusion Studio to create the templates to
make yur documents searchable. To run the wizard, click File > New and select
the Verity Wizard from the CFML tab of the New Document dialog.
Note

Selecting an indexing method

Use the following guidelines to determine which method to use.
Using the CF Administrator or CFINDEX
Use the Administrator if
You want to index document files.
The collection won't be updated very
frequently.
You want to generate the collection
without writing any CFML code.
You want to generate a one-time
collection.
Using ColdFusion Administrator
To use ColdFusion Administrator to index a collection:
1.
Select a collection name in the Verity Collections box.
2.
Click Index to open the index page. The selected collection name appears at the
top of the page.
3.
Enter a single file type or multiple file types separated by commas.
4.
Type in the directory path for the collection or click Browse Server and navigate to
the directory in which to begin the index.
You can index and search against Verity collections created outside of
ColdFusion by using the EXTERNAL attribute of CFINDEX and
CFSEARCH.
Use the CFINDEX tag if
You want to index ColdFusion query results.
You need to dynamically populate or update
a collection from a ColdFusion application
page.
Your collection needs to be updated
frequently.
Your collection needs to be updated by other
people.
157

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents