[Zope] Keyword Index Question

Chris Withers chrisw@nipltd.com
Mon, 19 Mar 2001 16:49:35 +0000


Hi,

Is there any way I can search a Keyword Index in such a way that it only returns
matches that have _all_ the keywords I supply?

For Example, I'd like:

context.searchResults({'MyKeywordIndex':['Fred','Jones']})

...to return only catalogued items that have Fred _and_ Jones as keywords in
MyKeywordIndex.

The above appears to return objects which have keywords of 'Fred' _or_ 'Jones'

Any ideas?

cheers,

Chris