lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Changing index-time boosts without reindexing
Date Tue, 06 Sep 2011 16:42:59 GMT

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


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

View raw message