[Zope] ZCTextIndex parse error

Tim Hicks tim@sitefusion.co.uk
Sat, 5 Jul 2003 16:40:51 +0100 (BST)


Hi,

I've got a zope 2.6.1 (on solaris if that matters) and a ZCatalog setup with a
ZCTextIndex.  I also have a search/results pair of page templates that provide an
interface for users to actually search the catalog.

All is well with most sorts of queries, except that inputing something like 'word1
NOT word2' throws up a "Parse Error" "Token 'EOF' required, 'NOT' found".  The
strange thing is that using 'word1 -word2' does work, as does 'word1 AND word2'. 
Sorry, I'm not able to provide a full traceback just at the moment as I don't have
access to the root zope folder - and consequently the error_log *.

Does anybody have any idea what's going wrong?


cheers,

tim


* Which is a little niggle of mine.  I understand the reasons for not appending the
error traceback to the returned page, but it would be *very* handy to be able to add
error_logs further down the tree so that developers can examine the errors without
requiring access to the root zope folder.