From 78edc04eb66fb4335f28d55e48a08beecd0ee56e Mon Sep 17 00:00:00 2001 From: HÃ¥vard Pettersen Date: Mon, 25 Mar 2024 11:59:58 +0000 Subject: use thread_local for blueprint options --- .../vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.cpp') 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()); } } -- cgit v1.2.3