[Zope] searching for aword OR bword in a TextIndexNG

Joachim Schmitz js@aixtraware.de
Sun, 09 Feb 2003 20:03:47 +0100


I have a catalog with an textindex "track"

I want to select all catalog-entries which contain aword OR bword

but

res =3D catalog(track=3D["aword","bword"])
returns only records matching "aword"

res =3D catalog(track=3D["bword","aword"])
returns only records matching "bword"

So only the first word is searched for.

Can I perform an OR with this syntax ?

This is TextIndexNG 1.08 and Zope-2.6.1 or 2.5.1 under Linux.



Mit freundlichen Gr=FC=DFen                              Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------
Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1  1EDC 725B 3317 A8D7 C3A6
Keyserver: http://www.keyserver.net/en/