[Zope3-Users] reverse field-index lookups

Gary Poster gary at zope.com
Mon Jan 1 14:44:53 EST 2007


On Jan 1, 2007, at 9:36 AM, Roy Mathew wrote:

> Happy new year everyone!
>
> Is there a way to query a FieldIndex in reverse (ie: by object value)?
> 09:22]Or is there another index that supports reverse lookup?		[09:26]
>
> I would like to be able to figure out which objects are indexed by a
> particular value, and since the field index internally stores this
> info in _rev_index, it seems like a shame to not be able to get to it.


Please see zc.catalog indexes (for instance, IIndexValues in http:// 
svn.zope.org/zc.catalog/trunk/src/zc/catalog/interfaces.py?view=auto).




More information about the Zope3-users mailing list