lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <karl.wet...@gmail.com>
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.
> http://lucene.apache.org/java/docs/scoring.html#Score%20Boosting
> 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()


-- 
karl

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