From 47efca85a5e79645dc6e4631c1e947a2c9f593b1 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Mon, 5 Feb 2024 14:16:29 +0000 Subject: Align flow stats calculation for leaf blueprints. A special case is added for attributes without a known hit estimate, instead of trying to deduce this based on the size of the (legacy) absolute hit estimate. --- .../src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'searchcore') diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp index 5a58aa869e0..c434203898e 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp @@ -223,11 +223,6 @@ public: setEstimate(HitEstimate(_activeLids.size(), false)); } - FlowStats calculate_flow_stats(uint32_t docid_limit) const override { - auto est = abs_to_rel_est(getState().estimate().estHits, docid_limit); - return {est, 1.0, est}; - } - bool isWhiteList() const noexcept final { return true; } SearchIterator::UP createFilterSearch(bool strict, FilterConstraint) const override { -- cgit v1.2.3