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.
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 second method for optimizing a Verity collection is to do it programmatically ...