lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tajti Ákos <akos.ta...@gmail.com>
Subject Re: Changing index-time boosts without reindexing
Date Tue, 06 Sep 2011 18:52:04 GMT
Thank you very much!

Tajti Ákos

On 2011.09.06., at 18:42, Chris Hostetter <hossman_lucene@fucit.org> wrote:

> 
> : You can use IndexReader's setNorm method?
> : 
> : It's an expert method, and accepts a new byte norm value for the doc X
> : field, ie you'll have to compute the right byte value.
> 
> In particular, you should take a look at the FieldNormModifier utility.  
> It was created for the purpose of trying out different 
> similarity implementations based on field length (when index boosts 
> aren't used) but even if it doesn't serve your exact purpose, the way the 
> code works should be educational to serving your goal.
> 
> https://lucene.apache.org/java/3_3_0/api/all/org/apache/lucene/index/FieldNormModifier.html
> 
> 
> 
> -Hoss
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 

---------------------------------------------------------------------
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