I often encounter this problem when using QueryParser to parse queries that contain 
certain punctuation.  I believe the only solution is to parse the query yourself 
(allowing the punctuation) and build the query objects directly.

Paul

-----Original Message-----
From: Christian Schrader [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 6:57 AM
To: Lucene Users List
Subject: Lexical Error


I just encountered an Error searching for a Term like ${test}.
org.apache.lucene.queryParser.TokenMgrError: Lexical error at line 1, column
1.  Encountered: "$" (36), after : ""

Is this error known?

Chris


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to