You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/01/22 09:24:37 UTC

DO NOT REPLY [Bug 9110] - AND match fails if any Term is filtered out by an analyser.

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=9110>.
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=9110

AND match fails if any Term is filtered out by an analyser.





------- Additional Comments From morus.walter@gmx.de  2004-01-22 08:24 -------
The attached patch fixes the ArrayIndexOutOfBoundsExceptions if stop words
occur.
It also checks, that a BooleanQuery is not empty, that is that it contains at
least one not prohibited clause. For empty queries (including queries containing
only prohibited clauses) null is returned.
Note that this may also drop subqueries, e.g.
`a (-b -c)' get parsed as `a' since '-b -c' cannot be searched.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org