lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: problem with get/setBoost of document fields
Date Thu, 23 Sep 2004 16:26:51 GMT
You can change field boosts without re-indexing.

http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexReader.html#setNorm(int,%20java.lang.String,%20byte)

Doug

Bastian Grimm [Eastbeam GmbH] wrote:
> thanks for your reply, eric.
> 
> so i am right that its not possible to change the boost without 
> reindexing all files? thats not good... or is it ok only to change the 
> boosts an optimize the index to take changes effecting the index?
> 
> if not, will i be able to boost those fields in the searcher?
> 
> thanks, bastian
> 
> 
> -----
> 
> The boost is not thrown away, but rather combined with the length 
> normalization factor during indexing.  So while your actual boost value 
> is not stored directly in the index, it is taken into consideration for 
> scoring appropriately.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message