lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Mallabone <...@grantadesign.com>
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?

Regards,

-- 
Lee Mallabone.


--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message