Maintaining Collections
Once you have your Verity collection up and running, you may be tempted to sit back and leave well enough alone. However, as with any collection of information, Verity collections require periodic maintenance to keep them running in top form. ColdFusion provides several tools for accomplishing these tasks.
Optimizing Collections
Like relational databases, the contents of a Verity collection require periodic optimization for efficiency and streamlining. Because the data in a Verity collection is updated incrementally, over time the collection can become fragmented, which can result in bloated file sizes and slow search performance. Optimization compresses the data stored in a Verity collection, reducing the overall footprint of the collection and providing for more efficient searching. ColdFusion gives you two options for optimizing your Verity collections.
The first method for optimizing a Verity collection is through the ColdFusion Administrator. To optimize a Verity collection via the ColdFusion Administrator, all you need to do is click the Optimize icon next to the desired Verity collection name in the Verity Collections section of the ColdFusion Administrator. A JavaScript confirmation box asks you if you are sure you want to do this. If you choose to continue, ColdFusion carries out the optimization. The optimization process can last from a few seconds to several minutes depending on the size and type of data being optimized.
The second method for ...
Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.