aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2024-02-05 14:16:29 +0000
committerGeir Storli <geirst@yahooinc.com>2024-02-05 15:04:37 +0000
commit47efca85a5e79645dc6e4631c1e947a2c9f593b1 (patch)
treeb0e5a347895bd243eead5c75ca19910a3f588090 /searchcore
parentc57119796a4df33d9a7554508f5e85de5e934be7 (diff)
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.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp5
1 files changed, 0 insertions, 5 deletions
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 {