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 25820] - [PATCH] QueryParser not handling queries containing AND and OR correctly
Date Thu, 22 Jan 2004 17:39:10 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=25820>.
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=25820

[PATCH] QueryParser not handling queries containing AND and OR correctly





------- Additional Comments From otis@apache.org  2004-01-22 17:39 -------
Thanks for the patch!
However, I applied your patch locally, but a number of QueryParser unit tests
are now failing.
Are they passing for you?

Here are some failures I'm seeing:

    [junit] Testcase: testSimple(org.apache.lucene.queryParser.TestQueryParser):
       FAILED
    [junit] Query /a OR !b/ yielded /a/, expecting /a -b/
    [junit] junit.framework.AssertionFailedError: Query /a OR !b/ yielded /a/,
expecting /a -b/
    [junit]     at
org.apache.lucene.queryParser.TestQueryParser.assertQueryEquals(TestQueryParser.java:162)

    [junit] Testcase: testNumber(org.apache.lucene.queryParser.TestQueryParser):
       Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at
org.apache.lucene.queryParser.TestQueryParser.assertQueryEquals(TestQueryParser.java:160)


etc.

---------------------------------------------------------------------
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