lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: What is equivalent to Document.setBoost() from Lucene 3.6 inLucene 4.1 ?
Date Mon, 18 Feb 2013 13:41:28 GMT
See the migration guide:

"If you previously used Document.setBoost, you must now pre-multiply
the document boost into each Field.setBoost. If you have a
multi-valued field, you should do this only for the first Field
instance (ie, subsequent Field instance sharing the same field name
should only include their per-field boost and not the document level
boost) as the boost for multi-valued field instances are multiplied
together by Lucene."


--
Ian.


On Mon, Feb 18, 2013 at 12:17 PM, Paul Taylor <paul_t100@fastmail.fm> wrote:
> What is equivalent to Document.setBoost() from Lucene 3.6 inLucene 4.1 ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

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