lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject Re: de-boosting fields
Date Mon, 11 Dec 2006 08:31:21 GMT
Daniel Naber wrote:
> On Saturday 09 December 2006 02:25, Scott Smith wrote:
> 
>> What is the best way to do this?  Is changing the boost the right
>> answer?  Can a field's boost be zero?
> 
> Yes, just use: term1 term2 category1^0 category2^0. Erick's Filter idea is 
> also useful.

Isn't it also true that using Field.Index.NO_NORMS when creating the field will 
remove it from the scoring formula?  I thought I read that somewhere, but now 
can't find where.

Antony


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message