[Zope-dev] intersection of ZCatalog queries on the same index
Neil K
NeilK@ActiveState.com
Thu, 5 Oct 2000 19:10:30 -0700
Michel Pelletier <michel@mail2.aracnet.com> 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 returning the intersection but the union. At least for me.
On the other hand, full-text searches appear to handle a phrase
like 'foo and bar'.
--
Neil Kandalgaonkar <NeilK@ActiveState.com>
Web Application Developer, ActiveState