[Zope] Zcatalog searches

Dieter Maurer dieter at handshake.de
Fri Jan 21 14:21:39 EST 2005


Ken Ara wrote at 2005-1-20 09:06 -0800:
> ...
>This implementation requires the searchable text to be
>in Catalog metadata, which seems to be a bad thing,
>but I have never really understood just how bad.. 

You should *NOT* put fields into the metadata table
if they could be larger.

We had put the "description" into it and observed
huge transactions (a few byte change to a news
resulted in a 500 kB transaction) with correspondingly
large modification times. Searches, too, were very slow because
such huge blocks had to be loaded from the ZEO server.

Read large volume data from the object directly.
This is efficient, when you need it only for individual
objects or the objects in a moderately sized batch.

-- 
Dieter


More information about the Zope mailing list