[Xapian-discuss] scoring question

Richard Boulton richard at lemurconsulting.com
Wed Mar 21 18:41:11 GMT 2007


Olly Betts wrote:
> I've wondered before if wdf should be forced to always be at least one,
> but it's perhaps useful to be able to add boolean terms without
> affecting the document length.

I wonder if the BM25 weight class should clip it to a lower bound of 1, 
but it should be allowed to have a value of 0 in the database - such 
that the document length is not affected.

-- 
Richard



More information about the Xapian-discuss mailing list