lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: Modifying Length Normalization calculation
Date Mon, 13 Jun 2011 09:39:41 GMT would be the place to look,
specifically computeNorm(String field, FieldInvertState state).  There
is comprehensive info in the javadocs.  Note that values are
calculated at indexing and stored in the index encoded, with some loss
of precision.


On Mon, Jun 13, 2011 at 7:31 AM, Lahiru Samarakoon <> wrote:
> Hi All,
> I want to change the length normalization calculation specific to my
> application. By changing the "*number of terms*" according to my
> requirement. The "*StandardTokenizer*" works perfectly for my application,
> However, the *number of terms* calculated by the tokenizer is not the
> effective number of terms for the application. I have an mechanism to
> calculate that value and I need to know how can I apply that value in length
> normalization calculations.
> Please advice.
> Thank you,
> Best Regards,
> Lahiru.

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

View raw message