lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <>
Subject Re: Number of terms
Date Tue, 16 Oct 2007 11:37:28 GMT

16 okt 2007 kl. 13.07 skrev sandeep chawla:

> While calculating the lengthnorm- there is a precision-loss.
> How to avoid the precision loss?

You replace the use of bytes to floats when storing the norms  
(DocumentsWriter) in the file and accessing them via the IndexReader,  
plus all aggregated use of the use of byte-norms from the  
IndexReader. Search for use of Similarity.en/deccodeNorm()


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

View raw message