Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 58569 invoked from network); 21 Aug 2004 20:15:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Aug 2004 20:15:38 -0000 Received: (qmail 26007 invoked by uid 500); 21 Aug 2004 20:15:35 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 25934 invoked by uid 500); 21 Aug 2004 20:15:35 -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 25921 invoked by uid 99); 21 Aug 2004 20:15:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [194.25.134.80] (HELO mailout01.sul.t-online.com) (194.25.134.80) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 21 Aug 2004 13:15:29 -0700 Received: from fwd07.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1BycGt-00026S-00; Sat, 21 Aug 2004 22:15:27 +0200 Received: from pD9FCB818.dip.t-dialin.net (TJWygcZVQeM2tMa4wL1GV7v+BRhjiYT+Cm+aZK13HWfAD2hG5qFP08@[217.252.184.24]) by fmrl07.sul.t-online.com with esmtp id 1BycGq-09sNuq0; Sat, 21 Aug 2004 22:15:24 +0200 From: Daniel Naber To: "Lucene Developers List" Subject: Re: API cleanup: BooleanQuery.add() Date: Sat, 21 Aug 2004 22:17:17 +0200 User-Agent: KMail/1.6.82 References: <200408200048.46738@danielnaber.de> <41267191.6060905@apache.org> In-Reply-To: <41267191.6060905@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408212217.17855@danielnaber.de> X-ID: TJWygcZVQeM2tMa4wL1GV7v+BRhjiYT+Cm+aZK13HWfAD2hG5qFP08@t-dialin.net X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Friday 20 August 2004 23:48, Doug Cutting wrote: > I still prefer Occur.MUST, Occur.SHOULD and Occur.MUST_NOT. Okay. I noticed that my suggested patch only changes BooleanQuery, but BooleanClause is public, too. So it should be changed as well. However, it implements Serializable and I don't know why. Does this mean we're limited in the changes that we can apply? So is it okay to deprecate (and later remove) the current constructor that takes two booleans and add one that takes the Occur object? > BooleanQuery is really a misnomer, since it is not the traditional tree > of boolean operators. Then maybe we should rename it for Lucene 2.0? Do you have a better name? Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org