lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Friedman <pfried...@macromedia.com>
Subject RE: Lexical Error
Date Fri, 07 Dec 2001 14:21:38 GMT
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:schrader.news@evendi.de]
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:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message