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 9110] - AND match fails if any Term is filtered out by an analyser.
Date Thu, 22 Jan 2004 08:24:37 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=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


Mime
View raw message