[Zope3-Users] query all objects in catalog

Gary Poster gary at zope.com
Thu Mar 6 14:11:40 EST 2008


On Mar 6, 2008, at 1:42 PM, Robert Marianski wrote:

> Is there a way to query a zope3 catalog for all objects that have been
> indexed? I see that there is a way to ask an index for the number of
> documents it currently has indexed, via documentCount() in the
> IStatistics interface, but I can't a good way get back all objects  
> that
> have been indexed.

The intid utility kinda sorta does what you want, depending on how  
careful you were in your intid use.

zc.catalog's extents do exactly what you want, but it doesn't sound  
like you are using that right now.

Gary



More information about the Zope3-users mailing list