lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6078] New: - Colon character not searchable by QueryParser
Date Mon, 28 Jan 2002 21:13:47 GMT
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:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message