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

2000-10-05 Thread Neil K
Michel Pelletier <[EMAIL PROTECTED]> wrote: > Catalog.searchResults({'food', ['foo', 'bar']}) ^ I think you meant a : there? > would find all of the objects whose food property contained both 'foo' > _and_ 'bar'. This is not retu

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

2000-10-05 Thread Michel Pelletier
Neil K wrote: > > 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'. You should use a Keyw

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

2000-10-05 Thread Neil K
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 li