lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: problem with get/setBoost of document fields
Date Wed, 22 Sep 2004 19:15:09 GMT
On Wednesday 22 September 2004 18:44, Bastian Grimm [Eastbeam GmbH] wrote:

> if i set the d1 and f1 boost  to 1.0f (default) the score returned by
> the HitCollector is 0.3xxx - shouldn't it be exactly 1.0 ?

See the documentation for getBoost:

"Note: this value is not stored directly with the document in the index. 
Documents returned from IndexReader.document(int) and Hits.doc(int) may 
thus not have the same value present as when this field was indexed."



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

View raw message