lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: Prioiritze new documents
Date Sun, 30 Dec 2007 13:08:37 GMT
On Sonntag, 30. Dezember 2007, Dominik Bruhn wrote:

> Although I set the Boost via doc.setBoost(value) for each document
> before writing it to the index it doesnt change anything. Even worse if
> I look at the index using Luke (Version 0.7.1) each document got a boost
> of 1 not of the value supplied.

From the Javadoc of 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 document was indexed.



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

View raw message