[Zope-Coders] Catalog optimization?

Florent Guillaume fg@nuxeo.com
Sun, 6 Oct 2002 20:59:22 +0000 (UTC)


Today when you catalog an object by passing it idxs=['foo'], the intent
is to improve speed by only recataloging the foo index. Unfortunately
the catalog always recordifies the full object and updates all the
metadata, which loses most of the speed benefits this could have.

I propose that if a non-empty idxs is passed, then only the metadata
corresponding to the index be updated.

What do you think?

This would speed CMF quite a bit, since I've tried to update only the
relevant indexes in a number of places.


Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com