[Zope-dev] ZCatalog hackery

Dieter Maurer dieter@handshake.de
Sun, 4 Mar 2001 23:26:26 +0100 (CET)


R. David Murray  writes:
 > ...
 > The issue is that parts of the database get updated periodically from an
 > external source.  That is, the author and book tables get replaced
 > wholesale.  But the Book and Author objects are cataloged using
 > ZCatalog, doing a full text index on a combination of fields from
 > the external database and the html chunks.  As far as I can see
 > at the moment, this means that every object has to get uncataloged
 > and recataloged, meaning every time the database update happens
 > the zodb inflates considerably, even though very little data has
 > actually changed.
Maybe, you can determine whether something relevant changed
and call "catalog_object" only in this case.



Dieter