[Xapian-devel] [Xapian-commits] 10821: trunk/xapian-core/ trunk/xapian-core/api/

Olly Betts olly at survex.com
Mon Jul 7 01:41:56 BST 2008


On Sun, Jul 06, 2008 at 11:57:40PM +0100, richard wrote:
> api/omenquire.cc: When calculating percentages, round to the
> nearest integer, rather than rounding down.  There was a FIXME
> about this, but no explanation of why it hadn't already been
> done, and I can see no bad side effects so far.  The most obvious
> positive effect is that queries which should get precisely 100%
> will no longer be assigned 99% due to rounding errors.

Well, one issue is that queries which shouldn't get precisely 100% now
can...

I don't know how common an issue that is, but then I don't know how
common the issue you mention is either.

Cheers,
    Olly



More information about the Xapian-devel mailing list