[Zope] searching for aword OR bword in a TextIndexNG

Andreas Jung Andreas Jung <lists@andreas-jung.com>
Sun, 09 Feb 2003 20:14:27 +0100


--On Sonntag, 9. Februar 2003 20:03 +0100 Joachim Schmitz 
<js@aixtraware.de> wrote:

> I have a catalog with an textindex "track"
>
> I want to select all catalog-entries which contain aword OR bword
>
> but
>
> res = catalog(track=["aword","bword"])
> returns only records matching "aword"
>
> res = catalog(track=["bword","aword"])
> returns only records matching "bword"

res = catalog(track="aword OR bword")

-aj