Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 25160 invoked from network); 22 Jan 2004 08:18:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Jan 2004 08:18:56 -0000 Received: (qmail 47604 invoked by uid 500); 22 Jan 2004 08:18:27 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 47571 invoked by uid 500); 22 Jan 2004 08:18:27 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 47520 invoked from network); 22 Jan 2004 08:18:26 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 22 Jan 2004 08:18:26 -0000 Received: (qmail 5975 invoked by uid 50); 22 Jan 2004 08:18:48 -0000 Date: 22 Jan 2004 08:18:48 -0000 Message-ID: <20040122081848.5974.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: lucene-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 25820] - [PATCH] QueryParser not handling queries containing AND and OR correctly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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