lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Mallabone <>
Subject Re: [patch] bug with boosts in parsed queries
Date Mon, 09 Sep 2002 08:02:48 GMT
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?


Lee Mallabone.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message