[Zope] TextIndexNG Queryparser bug?

Juergen R. Plasser / Hexagon plasser@hexagon.at
Wed, 19 Jun 2002 10:40:00 +0200


Thnx!

Juergen

--On Dienstag, 18. Juni 2002 16:27 -0400 Andreas Jung=20
<andreas@andreas-jung.com> wrote:

> Hallo Juergen,
>
> anbei ein gefixter PyQueryParser.py
>
> Andreas
>
> --On Tuesday, June 18, 2002 16:20 +0200 "Juergen R. Plasser / Hexagon"
> <plasser@hexagon.at> wrote:
>
>> When I do a search for 'andorf' (small town in Upperaustria) I always =
get
>> a Queryparser error: Syntax error at 'and'. Should not there be a blank
>> after 'and' (and some expression before 'and') for a search phrase? When
>> I capitalize the a ('Andorf') queryparser does his job as intended.
>>
>> I have tried the strings 'Andorf andAndorf' and 'Wels andPichl' and that
>> search works pretty fine (resulting in 'Andorf' and 'Pichl bei Wels').
>>
>> Juergen
>>
>>
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -  http://lists.zope.org/mailman/listinfo/zope-announce
>>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
>
>
>
>     ---------------------------------------------------------------------
>    -    Andreas Jung                     http://www.andreas-jung.com   -
>   -   EMail: andreas at andreas-jung.com                              -
>    -            "Life is too short to (re)write parsers"               -
>     ---------------------------------------------------------------------



--=20
Mit freundlichen Gr=FC=DFen,
DI J=FCrgen R. Plasser
Gesellschafter

plasser@hexagon.at
Tel.: +43 / 732 / 640 530 DW 40

HEXAGON EDV-Dienstleistungen Hosiner OEG
A-4221 Steyregg
Weissenwolffstra=DFe 14
Tel.: +43 / 732 / 640 530
Fax: +43 / 732 / 640 530 - 20
http://www.hexagon.at
info@hexagon.at

Bankverbindung: Allg. Sparkasse O=D6, BLZ: 20320, Kto.-Nr.: 1900003623
Firmenbuchnummer: FN 167631t
Firmenbuchgericht: Handelsgericht Linz