You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by #LI JUN# <JL...@e.ntu.edu.sg> on 2014/09/21 10:23:56 UTC

document boost at lucene 4.8.1

Hi all,


How come in 4.8.1, the document.setBoost method is missing. So what is the method for document level boost now?


Regards,

Jun


Re: document boost at lucene 4.8.1

Posted by Shai Erera <se...@gmail.com>.
You can read some discussion here:
http://search-lucene.com/m/Z2GP220szmS&subj=RE+What+is+equivalent+to+Document+setBoost+from+Lucene+3+6+inLucene+4+1+
.

I wrote a post on how to achieve that with the new API:
http://shaierera.blogspot.com/2013/09/boosting-documents-in-lucene.html.

Shai

On Sun, Sep 21, 2014 at 11:23 AM, #LI JUN# <JL...@e.ntu.edu.sg> wrote:

> Hi all,
>
>
> How come in 4.8.1, the document.setBoost method is missing. So what is the
> method for document level boost now?
>
>
> Regards,
>
> Jun
>
>