[Xapian-discuss] finer-granular document weight

James Aylett james-xapian at tartarus.org
Sun Nov 30 17:40:09 GMT 2014


On 30 Nov 2014, at 17:35, Mir Siadaty <mir.siadaty at biomedupdater.com> wrote:

> I assume get_weight() returns non-negative numbers where the upper bound changes per query (it is not bound by a particular number like 1 or 1000), correct?

That will depend on your weighting scheme, but usually that will be correct. For information on the default weighting scheme see <http://xapian.org/docs/bm25.html>.

J

-- 
 James Aylett, occasional trouble-maker
 xapian.org




More information about the Xapian-discuss mailing list