[Zope-Coders] Re: Catalog optimization?

Florent Guillaume fg@nuxeo.com
Mon, 14 Oct 2002 20:13:40 +0000 (UTC)


Arnar Lundesgaard <arnar.lundesgaard@creuna.no> wrote:
> "Florent Guillaume" <fg@nuxeo.com> wrote in message
> news:anq87a$tgo$1@dev.in.nuxeo.com...
> > 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?
> 
> Would it require big changes or a "simply" a few strategicly placed
> 'if' tests?
> 
> Something like this would definately be useful in our applications,
> not only for speed but perhaps also for FileStorage growth.

Thanks for the feedback. I think the changes will be pretty localized in
the code.

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