Re: [Zope] Token 'ATOM' required, 'and' found

2005-07-25 Thread Chris Withers
Peter Bengtsson wrote: But, is there a more robust solution to this? The "correct" thing to do here is to write your own query parser, but that's a lot of hard work. I just catch the two exceptions that the QueryParser can throw and return an empty result set. cheers, Chris -- Simplisti

[Zope] Token 'ATOM' required, 'and' found

2005-07-23 Thread Peter Bengtsson
I'm using zope 2.7.5 and when doing a catalog search in a ZCTextIndex containing the starting with the word "and" it barfs with this errror: E.g. http://www.peterbe.com/search?q=and+i+cant+stop+thinking+about+you Error Type: ParseError Error Value: Token 'ATOM' required, 'and' found (traceback bel