[Zope-dev] intersection of ZCatalog queries on the same index

Neil K NeilK@ActiveState.com
Thu, 5 Oct 2000 14:30:48 -0700


If there a way to get ZCatalog to give me intersections of results on a
single index? All the examples and tutorials I've seen are union (OR)
queries.

Basically I just want ZCatalog to give me items where keywords contained
both 'foo' and 'bar'.

I have browsed through Catalog.py and it seems like it might be possible.
Disclaimer, I'm pretty new to Zope & python.

--
Neil Kandalgaonkar  <NeilK@ActiveState.com>
Web Application Developer, ActiveState