summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-12-06 12:11:27 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-12-06 12:11:27 +0000
commit281724ecc6edf458ba14803a7ec254e592fec6ea (patch)
tree7d16794707c9d885e5a0d86759692dc1055ea351
parentfaa88d84f23ad78441cc61c304158c46a11c5d9e (diff)
revert default setting for use_estimate_for_fetch_postings to false and add TODO.
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp b/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp
index 3a2383cfb2f..d96d202fd4b 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp
@@ -99,7 +99,8 @@ AttributeLimiter::create_match_data(size_t want_hits, size_t max_group_size, dou
FieldSpecList field; // single field API is protected
field.add(FieldSpec(_attribute_name, my_field_id, my_handle));
_blueprint = _searchable_attributes.createBlueprint(_requestContext, field, node);
- auto execInfo = ExecuteInfo::create(strictSearch, strictSearch ? 1.0F : hit_rate, &_requestContext.getDoom(), true, true);
+ //TODO use_estimate must be switched to true quite soon
+ auto execInfo = ExecuteInfo::create(strictSearch, strictSearch ? 1.0F : hit_rate, &_requestContext.getDoom(), true, false);
_blueprint->fetchPostings(execInfo);
_estimatedHits.store(_blueprint->getState().estimate().estHits, std::memory_order_relaxed);
_blueprint->freeze();