<div dir="ltr"><div><div>TfIdfWeight and BM25(b=0) also need wdf_upper_bound, it is not exists in Lucene backends.<br></div>I think this data will be caculated when doing copydatabase, I will update the code later<br><br></div>
Regards<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/26 Olly Betts <span dir="ltr"><<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, Aug 26, 2013 at 09:41:07AM +0800, jiangwen jiang wrote:<br>
> > For now, using weighting schemes which don't use document length is<br>
> > probably the simplest answer.<br>
><br>
> There's tf-idf weighting scheme on svn master, is it suitable for lucene<br>
> backend?<br>
<br>
</div>Yes - TfIdfWeight doesn't ever use the document length (at least with<br>
the normalisations currently implemented).<br>
<br>
You could also use BM25 with parameter b=0.<br>
<br>
Cheers,<br>
    Olly<br>
</blockquote></div><br></div>