Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 38901 invoked from network); 9 Sep 2002 08:11:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Sep 2002 08:11:52 -0000 Received: (qmail 23657 invoked by uid 97); 9 Sep 2002 08:12:36 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 23616 invoked by uid 97); 9 Sep 2002 08:12:36 -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 23604 invoked by uid 98); 9 Sep 2002 08:12:35 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Subject: Re: [patch] bug with boosts in parsed queries From: Lee Mallabone To: Lucene Developers List In-Reply-To: <3D78FDE1.2040502@lucene.com> References: <1031305558.17525.16.camel@murphy.granta.internal> <3D78FDE1.2040502@lucene.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8-1mdk Date: 09 Sep 2002 09:02:48 +0100 Message-Id: <1031558568.10333.23.camel@murphy.granta.internal> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 2002-09-06 at 20:11, Doug Cutting wrote: > This fixes the query parser, but, unfortunately, the problem is deeper. > BooleanQuery does not implement boosting. This could be fixed too, > but, for now, the easiest thing to do is simply to boost each term > within the boolean query. Ah. That *would* explain why further tests I made on a real index looked like no weighting was occuring on boolean query rankings! :) Should I update the patch for now so that BooleanQuery.setBoost() just calls setBoost() on all its clauses? Regards, -- Lee Mallabone. -- To unsubscribe, e-mail: For additional commands, e-mail: