[ZODB-Dev] Object indexing/sorting

Christian Robottom Reis kiko at async.com.br
Mon Apr 12 07:59:51 EDT 2004


On Mon, Apr 12, 2004 at 01:51:24PM +0200, Peter Schuller wrote:
> When it comes to dealing with lists of objects in bulk, and either searching 
> for objects or listing them in a sorted fashion, what do people use? There is 
> the ZCatalog for Zope, but what about regular ZODB (but non-Zope) objects? 
> Are there existing classes that help with this?

Yes. IndexedCatalog (http://www.async.com.br/projects/IndexedCatalog/)
does precisely what you want, without depending on any Zope-specific
modules. I've been `granted' maintainer status of it, and we run a
number of customer applications that use it daily with rather largish
databases (> 100,000 objects in more than a few catalogs), so I can
stand by it's functionality and schema migration niceties. I can't
promise it won't chew up your hard drive, but it hasn't done that to any
of ours yet <wink>

Use CVS HEAD if you're willing, it has been very stable lately and all
the pseudo-dangerous stuff is being developed on branches.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331



More information about the ZODB-Dev mailing list