ZCatalog - Advanced: Control advanced Catalog features

Description

This view allows you to remove or update the entire contents of the Catalog, and adjust the memory usage of large Catalog updates. It also displays the number of objects cataloged in each index.

If an object is changed after it has been added to a Catalog, the Catalog's indexes and meta-data are not automatically updated unless the object is "catalog aware". Most Zope objects are not.

In order to make sure that the Catalog is current, you need to update it. Updating the Catalog clears it, then re-catalogs every object that was in it.

Adding large numbers of objects to the Catalog in a single transaction, as with Update Catalog, can use a lot of memory. You can reduce the memory requirements of such updates, at the expense of speed, by setting a subtransaction threshold. The lower you set the threshold, the more often the Catalog will commit a subtransaction and flush the cache.

Controls

Update Catalog
Click to update the meta data and indexes for all of the objects in the Catalog.
Clear Catalog
Click to remove all objects from the Catalog.
Enable/Disable
Enable to use the threshold specified below, or disable to maximize memory use and speed.
Set Threshold
Specify the number of objects that must be cataloged in a single transaction before a subtransaction commit is triggered. The default value is 10000.