[Zope-dev] ZCatalog reindex_object

Chris Withers fresh@bay-c.co.uk
Sun, 31 Dec 2000 13:49:38 +0000


Steve Alexander wrote:

> reindex_object is a method of the mix-in class CatalogAwareness.

Ah, that's okay then, since Squishdot doesn't have anything to do with
CatalogAwareness.

> I think calling index_object should work, as a well-implemented catalog
> will do the right thing. However, calling reindex_object makes your
> intentions more explicit.

AFAICT, the catalog doesn't have a recatalog_object method and the
comments for catalog_object in ZCatalog.py suggest it can be used to
re-cataloging and well as cataloging.

...in which case, I wonder why CatalogAwareness goes to the trouble of
unindexing and then re-indexing?

answers on a postcard, or email ;-)

cheers,

Chris