Indexing a Collection  
 
 

At this point, the new collection is just an empty shell. In fact, if you hold it up to your ear you can hear the ocean. You can use the CF Administrator or CFINDEX to populate the collection with indexed data.

 
 
  Note  
 

You can index and search against Verity collections created outside of ColdFusion by using the EXTERNAL attribute of CFINDEX and CFSEARCH.

 
 
  Selecting an indexing method  
 
 

Use the following guidelines to determine which method to use.

Using the CF Administrator or CFINDEX 
Use the Administrator if
Use the CFINDEX tag if
You want to index document files.
You want to index ColdFusion query results.
The collection won't be updated very frequently.
You need to dynamically populate or update a collection from a ColdFusion application page.
You want to generate the collection without writing any CFML code.
Your collection needs to be updated frequently.
You want to generate a one-time collection.
Your collection needs to be updated by other people.

The following sections give instructions for each of the indexing methods.



 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.