You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2002/01/28 22:13:47 UTC
DO NOT REPLY [Bug 6078] New: -
Colon character not searchable by QueryParser
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6078>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6078
Colon character not searchable by QueryParser
Summary: Colon character not searchable by QueryParser
Product: Lucene
Version: CVS Nightly - Specify date in submission
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: QueryParser
AssignedTo: lucene-dev@jakarta.apache.org
ReportedBy: dlr@finemaltcoding.com
org.apache.lucene.queryParser.QueryParser does not allow the colon character to
be included in search text. When I don't filter colon characters from user
input in Eyebrowse's SearchList servlet, I get the following exception when
seraching for the text "10:" (minus the quotes):
org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1,
column 3.
Was expecting one of:
"(" ...
<QUOTED> ...
<NUMBER> ...
<TERM> ...
<WILDTERM> ...
<RANGEIN> ...
<RANGEEX> ...
at
org.apache.lucene.queryParser.QueryParser.generateParseException(Unknown Source)
at org.apache.lucene.queryParser.QueryParser.jj_consume_token(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 org.tigris.eyebrowse.LuceneIndexer.search(LuceneIndexer.java:207)
at org.tigris.eyebrowse.core.SearchList.core(SearchList.java:138)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>