diff options
author | Arne Juul <arnej@yahoo-inc.com> | 2017-12-05 10:12:36 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2017-12-05 10:12:36 +0000 |
commit | d9b0bd3a78475735920a0a606f12442f9d5c713d (patch) | |
tree | 6c644b1433d05c53fc4c3c30a06feaa1944c90ab /searchcorespi/CMakeLists.txt | |
parent | 43e141e0567ae7eb67c0d7eeb9eb8177a59fab04 (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 'searchcorespi/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions