summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-04-06 14:00:00 +0000
committerTor Egge <Tor.Egge@oath.com>2018-04-06 14:00:00 +0000
commit8ec495098357f2f4fe8054c9f858fbf756bd2f3f (patch)
treefd963b97055e0081b8240716cc6409396b49f5f5 /searchcore
parent72ee13f08707d86e0e05c8062a7bd4f927916ee8 (diff)
Don't estimate 0 hits in whitelist.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp2
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() {