diff options
author | Håvard Pettersen <havardpe@yahooinc.com> | 2024-03-25 11:59:58 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@yahooinc.com> | 2024-03-25 15:36:09 +0000 |
commit | 78edc04eb66fb4335f28d55e48a08beecd0ee56e (patch) | |
tree | fd9a89750b011bb5f33da57dfeefd30f00b06a02 /searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp | |
parent | cfc8ecf6bb750039cd03b166ad82d505663cafbb (diff) |
use thread_local for blueprint options
Diffstat (limited to 'searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 e90cce219d7..c0beaf19d70 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 @@ -67,12 +67,12 @@ ParallelWeakAndBlueprint::addTerm(Blueprint::UP term, int32_t weight, HitEstimat } void -ParallelWeakAndBlueprint::sort(InFlow in_flow, const Options &opts) +ParallelWeakAndBlueprint::sort(InFlow in_flow) { strict(in_flow.strict()); auto flow = OrFlow(in_flow); for (auto &term: _terms) { - term->sort(InFlow(flow.strict(), flow.flow()), opts); + term->sort(InFlow(flow.strict(), flow.flow())); flow.add(term->estimate()); } } |