summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHåvard Pettersen <3535158+havardpe@users.noreply.github.com>2024-05-15 15:29:58 +0200
committerGitHub <noreply@github.com>2024-05-15 15:29:58 +0200
commitfc104fab59e2c4b74e07e1c5f2c253eea7efacfc (patch)
tree5bbb7c3412248765ea9b3199b124e8a715085a66 /searchlib
parent61c22f760d11f3b87a175149acedc24550f1f9fd (diff)
parent64fe7853011b67a5f3f4b42903905a2b4b29afbf (diff)
Merge pull request #31209 from vespa-engine/geirst/attribute-weighted-set-blueprint-flow-stats
Update flow stats to reflect that reverse hash lookup is always used …
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp b/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp
index 928023c0f94..e2d7f0fe312 100644
--- a/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp
+++ b/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp
@@ -132,7 +132,7 @@ AttributeWeightedSetBlueprint::calculate_flow_stats(uint32_t docid_limit) const
using MyAdapter = attribute::HitEstimateFlowStatsAdapter;
size_t num_indirections = queryeval::flow::get_num_indirections(_attr.getBasicType(), _attr.getCollectionType());
double est = OrFlow::estimate_of(MyAdapter(docid_limit, num_indirections), _estimates);
- return {est, OrFlow::cost_of(MyAdapter(docid_limit, num_indirections), _estimates, false),
+ return {est, queryeval::flow::reverse_hash_lookup(),
OrFlow::cost_of(MyAdapter(docid_limit, num_indirections), _estimates, true) + queryeval::flow::heap_cost(est, _estimates.size())};
}