searching for aword OR bword in a TextIndexNG
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" 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üßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://www.keyserver.net/en/
--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
Is there better documentation for the whole search syntax, than in the ZopeBook 2.6 version ? Especially the TextIndexNG extensions. --On Sonntag, Februar 09, 2003 20:14:27 +0100 Andreas Jung <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 = 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
_______________________________________________ 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üßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://www.keyserver.net/en/
--On Montag, 10. Februar 2003 09:29 +0100 Joachim Schmitz <js@aixtraware.de> wrote:
Is there better documentation for the whole search syntax, than in the ZopeBook 2.6 version ? Especially the TextIndexNG extensions.
Which ZopeBook Version? TextIndexNG is *not* a product from ZC and it is *not* covered by the ZopeBook. All TextIndexNG related informations can be found here: http://www.zope.org/Members/ajung/TextIndexNG/wiki/TextIndexNG -aj
participants (2)
-
Andreas Jung -
Joachim Schmitz