diff options
author | Håvard Pettersen <havardpe@yahooinc.com> | 2024-03-21 11:30:36 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@yahooinc.com> | 2024-03-21 11:30:36 +0000 |
commit | e7097b297c65638a48a3330ce5bc0f2e1c54124a (patch) | |
tree | f73eb5d84b48d256d061ab3e6a2f8f2d02bef4f2 /searchlib | |
parent | 723d6cacbdce4c45e01c92cb3e2eeb71f7b513f2 (diff) |
remove implicit casts from bool to double
Diffstat (limited to 'searchlib')
3 files changed, 3 insertions, 6 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/dot_product_blueprint.cpp b/searchlib/src/vespa/searchlib/queryeval/dot_product_blueprint.cpp index 7491215cb59..020452265ce 100644 --- a/searchlib/src/vespa/searchlib/queryeval/dot_product_blueprint.cpp +++ b/searchlib/src/vespa/searchlib/queryeval/dot_product_blueprint.cpp @@ -87,9 +87,8 @@ DotProductBlueprint::createFilterSearch(FilterConstraint constraint) const void DotProductBlueprint::fetchPostings(const ExecuteInfo &execInfo) { - ExecuteInfo childInfo = ExecuteInfo::create(true, execInfo); for (size_t i = 0; i < _terms.size(); ++i) { - _terms[i]->fetchPostings(childInfo); + _terms[i]->fetchPostings(execInfo); } } diff --git a/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp b/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp index e85649a3758..e90cce219d7 100644 --- a/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp +++ b/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp @@ -125,9 +125,8 @@ ParallelWeakAndBlueprint::createFilterSearch(FilterConstraint constraint) const void ParallelWeakAndBlueprint::fetchPostings(const ExecuteInfo & execInfo) { - ExecuteInfo childInfo = ExecuteInfo::create(true, execInfo); for (const auto & _term : _terms) { - _term->fetchPostings(childInfo); + _term->fetchPostings(execInfo); } } diff --git a/searchlib/src/vespa/searchlib/queryeval/weighted_set_term_blueprint.cpp b/searchlib/src/vespa/searchlib/queryeval/weighted_set_term_blueprint.cpp index 8f4f8d50c43..f1a8a72f2f8 100644 --- a/searchlib/src/vespa/searchlib/queryeval/weighted_set_term_blueprint.cpp +++ b/searchlib/src/vespa/searchlib/queryeval/weighted_set_term_blueprint.cpp @@ -153,9 +153,8 @@ WeightedSetTermBlueprint::create_matching_elements_search(const MatchingElements void WeightedSetTermBlueprint::fetchPostings(const ExecuteInfo &execInfo) { - ExecuteInfo childInfo = ExecuteInfo::create(true, execInfo); for (const auto & _term : _terms) { - _term->fetchPostings(childInfo); + _term->fetchPostings(execInfo); } } |