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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to