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, 12 Feb 2004 20:24:15 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 halleux.jf@skynet.be  2004-02-12 20:24 -------
I had the same question when I submitted the last two patches to the 
QueryParser: what should an empty query return? This was the cause of some 
internal problems for handling stopwords within the QueryParser. 

Returning null from BooleanQuery broke "only" broke three tests in 
TestQueryParser, but fixed a lot of abnormal behaviors. Testing for an empty 
string appeared more of a dirty hack, but would do the trick too.

I noticed that they were several patches in the queue for the QueryParser. Is 
there anybody that is taking care of them?

Jean-Francois Halleux

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