summaryrefslogtreecommitdiffstats
path: root/serviceview
diff options
context:
space:
mode:
authorArne Juul <arnej@yahoo-inc.com>2017-12-05 10:12:36 +0000
committerArne Juul <arnej@yahoo-inc.com>2017-12-05 10:12:36 +0000
commitd9b0bd3a78475735920a0a606f12442f9d5c713d (patch)
tree6c644b1433d05c53fc4c3c30a06feaa1944c90ab /serviceview
parent43e141e0567ae7eb67c0d7eeb9eb8177a59fab04 (diff)
fix off-by-one in coverage reporting
* using getCommittedDocIdLimit() isn't really what we want to do, it will (even in the simplest case) be 1 more than the number of indexed documents. Use getNumUsedLids(), and do an extra check to avoid division by zero.
Diffstat (limited to 'serviceview')
0 files changed, 0 insertions, 0 deletions