diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-04-06 14:00:00 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-04-06 14:00:00 +0000 |
commit | 8ec495098357f2f4fe8054c9f858fbf756bd2f3f (patch) | |
tree | fd963b97055e0081b8240716cc6409396b49f5f5 /searchcore | |
parent | 72ee13f08707d86e0e05c8062a7bd4f927916ee8 (diff) |
Don't estimate 0 hits in whitelist.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp index 1d812731f47..222601edb45 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp @@ -220,7 +220,7 @@ public: _activeLids(activeLids), _matchDataVector() { - setEstimate(HitEstimate(0, false)); + setEstimate(HitEstimate(_activeLids.size(), false)); } ~WhiteListBlueprint() { |