As with any data source, the maintenance requirements of a Verity collection are dictated by the number, 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 Collections page. For more information on this topic, see the Knowledge Base article "Maintaining Collections" (ID# 1080) at http://www.coldfusion.com/Support/KnowledgeBase/SearchForm.cfm.
The easiest way to perform collection management tasks is to create a ColdFusion page that runs the operations, and then add the task on the Administrator Scheduler page. The page presents a wide range of scheduling options.
Choose an option based on the following function descriptions:
You should not use the Optimize action in a cfindex tag except to maintain legacy code. The cfcollection tag is recommended instead. For more information on this command, see the Knowledge Base article "How To Optimize Your Verity Collection" (ID# 416) at http://www.coldfusion.com/Support/KnowledgeBase/SearchForm.cfm.
cfindex action attribute Marks for deletion the specified key attribute value, or comma-separated values, from the collection. Use Purge to remove these items.cfcollection Deletes the entire collection.cfindex action attribute only) Deletes all data and repopulates the collection.Scenarios for restricting access to a Verity collection include:
You can then develop an appropriate authentication interface to allow access to the secured collection.
LiveDocs comments are not longer enabled for ColdFusion 5.0. Please use one of the following resources instead.
ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 5.0