[Zope] ZCatalog OR searching

Chris Withers chrisw@nipltd.com
Sun, 21 May 2000 22:25:22 +0100 (GMT)


Hi,

I have a word and I was to return objects which contain this word in
either one index or another (both textindexes).

If I do, searchResults(index1='word',index2='word') I don't get what I
want as it returns only objects that contain the word in BOTH indices.


Is there any way I can get the results I want without resorting to two
calls to searchResults and kludging them together?

Or is this the correct way to do it? (I think this has the potential to
use a LOT of memory if the results sets are large...)

cheers,

Chris