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 23964] - QueryParser fails when feeding with a stop word with a boosting factor
Date Tue, 21 Oct 2003 11:49:19 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=23964>.
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=23964

QueryParser fails when feeding with a stop word with a boosting factor





------- Additional Comments From pakozdi.tibor@freemail.hu  2003-10-21 11:49 -------
the stack trace:
org.apache.lucene.queryParser.ParseException: Encountered "^" at line 1, column 0.
Was expecting one of:
    <NOT> ...
    "+" ...
    "-" ...
    "(" ...
    <QUOTED> ...
    <TERM> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    <RANGEIN> ...
    <RANGEEX> ...
    <NUMBER> ...
    
        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 demo.org.apache.lucene.demo.SearchFiles.main(SearchFiles.java:84)

probably this is not a very good stack trace, but you can easily generate at
your environment, just feed the QueryParser with this string: "the^3"

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message