Managing Collections

As with any data source, the maintenance requirements of a Verity collection are dictated by the amount, frequency, and type of changes that occur in the records. You can run maintenance routines directly from either the CFCOLLECTION or CFINDEX tags or via the Administrator Verity page. For more information on this topic, see the Allaire Knowledge Base article, "Maintaining Collections" (ID# 1080) on our Web site at http://www.allaire.com/Support/KnowledgeBase/SearchForm.cfm.

The easiest way to perform collection management tasks is to create a ColdFusion template that runs the operations, then add the task on the Administrator Scheduler page. The page presents a wide range of scheduling options.

Maintenance options

Choose an option based on the following function descriptions.

Securing a collection

A couple of possible scenarios for restricting access to a Verity collection are:

Note To restrict access to a collection, follow these steps:
  1. Open the Advanced Server Security page of the ColdFusion Administrator and click the Use Advanced Server Security box.
  2. Click the Security Contexts button.
  3. Enter a name for the secured collection and click Add.
  4. Optionally enter a description for the secured collection.
  5. Click Collections on the Enable Security for Resource Types list.
  6. Click Apply.

You can then develop an appropriate authentication interface to allow access to the secured collection.