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=7574>. 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=7574 [PATCH] StopFilter does not throw out parentheses [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|StopFilter does not throw |[PATCH] StopFilter does not |out parentheses |throw out parentheses ------- Additional Comments From [EMAIL PROTECTED] 2004-02-10 20:31 ------- We will try not to have to organize a party for the second birthday of this one. Ok, the root cause for this is the QueryParser (once again), more specifically getBooleanQuery which is returning an empty query even if there are no clauses. When everything is a stopword, it could be the case that there are no clauses. There are several possible fixes. Included in the attached is the less disruptive one I could think of. It is "only" breaking three tests in TestQueryParser. However for the long term, I think that we should think of what it means to parse an empty query ("") and what should be the expected result (null,"", exception, ...) Have fun, Jean-Francois Halleux --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]