[Zope] searching for aword OR bword in a TextIndexNG

Joachim Schmitz js@aixtraware.de
Mon, 10 Feb 2003 09:29:34 +0100


Is there better documentation for the whole search syntax, than in the=20
ZopeBook 2.6
version ? Especially the TextIndexNG extensions.


--On Sonntag, Februar 09, 2003 20:14:27 +0100 Andreas Jung=20
<lists@andreas-jung.com> wrote:

>
>
> --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 =3D catalog(track=3D["aword","bword"])
>> returns only records matching "aword"
>>
>> res =3D catalog(track=3D["bword","aword"])
>> returns only records matching "bword"
>
> res =3D catalog(track=3D"aword OR bword")
>
> -aj
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )



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/