lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Friedman <>
Subject Parser error using Nov.11 nightly build
Date Mon, 12 Nov 2001 15:36:58 GMT
Parsing a query string that contains a "." in the field name throws an error using the Nov.
11 nightly build.  It worked fine using RC2 build.  I have attached a test case.  This is
a pretty big issue for my project as field names often have "." in them.
D:\Dev\Test Tools\lucene>java -cp %CLASSPATH%;.\ ParseTest
Exception in thread "main" org.apache.lucene.queryParser.TokenMgrError: Lexical error at line
1, column 9.  Encountered: "." (46), after : ""
        at org.apache.lucene.queryParser.QueryParserTokenManager.getNextToken(Unknown Source)
        at org.apache.lucene.queryParser.QueryParser.jj_scan_token(Unknown Source)
        at org.apache.lucene.queryParser.QueryParser.jj_3_1(Unknown Source)
        at org.apache.lucene.queryParser.QueryParser.jj_2_1(Unknown Source)
        at org.apache.lucene.queryParser.QueryParser.Clause(Unknown Source)
        at org.apache.lucene.queryParser.QueryParser.Query(Unknown Source)
        at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
        at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
        at ParseTest.main(

View raw message