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, 22 Jan 2004 08:18:48 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 morus.walter@gmx.de  2004-01-22 08:18 -------
I extended the patch to avoid ArrayIndexOutOfBoundsExceptions
in case of stopwords.

Empty queries and queries containing only prohibited clauses return null
now.
Note that this also aplies to subqueries, e.g. 
`a (-b -c)' gets `a' since -b -c only contains prohibited clauses.

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