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 18:38:36 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 cutting@apache.org  2004-02-12 18:38 -------
It is convenient to have an empty query string parsed as an empty BooleanQuery.
 That makes it much simpler to, e.g., construct a query from a form, where some
fields may be empty.  One needn't check for a null result from the parser, but
can always unconditionally add the parsed query to the full query being composed.

Back-compatiblity is also a good reason.  Changing this will likely break a lot
of applications when they upgrade, which is never nice.

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