diff options
author | Geir Storli <geirst@vespa.ai> | 2024-03-25 17:42:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 17:42:23 +0100 |
commit | 7a6ec3cd9c7e575d8134f21b8c6ee02f0bd40ad3 (patch) | |
tree | fd9a89750b011bb5f33da57dfeefd30f00b06a02 /searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp | |
parent | cfc8ecf6bb750039cd03b166ad82d505663cafbb (diff) | |
parent | 78edc04eb66fb4335f28d55e48a08beecd0ee56e (diff) |
Merge pull request #30731 from vespa-engine/havardpe/thread-local-blueprint-optionsv8.324.16
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()); } } |