From 1536e13b30358d63b8722ead277d8629376957f0 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Fri, 15 Mar 2024 13:41:21 +0100 Subject: Style fixes. --- searchlib/src/vespa/searchlib/query/streaming/dot_product_term.cpp | 3 +-- searchlib/src/vespa/searchlib/query/streaming/in_term.cpp | 3 +-- searchlib/src/vespa/searchlib/query/streaming/wand_term.cpp | 3 +-- searchlib/src/vespa/searchlib/query/streaming/weighted_set_term.cpp | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/searchlib/src/vespa/searchlib/query/streaming/dot_product_term.cpp b/searchlib/src/vespa/searchlib/query/streaming/dot_product_term.cpp index c267cec5e3c..bfc66d14e34 100644 --- a/searchlib/src/vespa/searchlib/query/streaming/dot_product_term.cpp +++ b/searchlib/src/vespa/searchlib/query/streaming/dot_product_term.cpp @@ -51,9 +51,8 @@ DotProductTerm::unpack_scores(Scores& scores, std::optional score_thresh } void -DotProductTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment& index_env) +DotProductTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment&) { - (void) index_env; Scores scores; build_scores(scores); unpack_scores(scores, std::nullopt, docid, td, match_data); diff --git a/searchlib/src/vespa/searchlib/query/streaming/in_term.cpp b/searchlib/src/vespa/searchlib/query/streaming/in_term.cpp index 38a13c55730..c856d0dd466 100644 --- a/searchlib/src/vespa/searchlib/query/streaming/in_term.cpp +++ b/searchlib/src/vespa/searchlib/query/streaming/in_term.cpp @@ -21,9 +21,8 @@ InTerm::InTerm(std::unique_ptr result_base, const string & InTerm::~InTerm() = default; void -InTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment& index_env) +InTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment&) { - (void) index_env; vespalib::hash_set matching_field_ids; HitList hl_store; std::optional prev_field_id; diff --git a/searchlib/src/vespa/searchlib/query/streaming/wand_term.cpp b/searchlib/src/vespa/searchlib/query/streaming/wand_term.cpp index f2b11f3c5b5..a089e17adb3 100644 --- a/searchlib/src/vespa/searchlib/query/streaming/wand_term.cpp +++ b/searchlib/src/vespa/searchlib/query/streaming/wand_term.cpp @@ -34,9 +34,8 @@ WandTerm::evaluate() const } void -WandTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment& index_env) +WandTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment&) { - (void) index_env; Scores scores; build_scores(scores); unpack_scores(scores, _score_threshold, docid, td, match_data); diff --git a/searchlib/src/vespa/searchlib/query/streaming/weighted_set_term.cpp b/searchlib/src/vespa/searchlib/query/streaming/weighted_set_term.cpp index 496ea381555..ec652e89682 100644 --- a/searchlib/src/vespa/searchlib/query/streaming/weighted_set_term.cpp +++ b/searchlib/src/vespa/searchlib/query/streaming/weighted_set_term.cpp @@ -18,9 +18,8 @@ WeightedSetTerm::WeightedSetTerm(std::unique_ptr result_bas WeightedSetTerm::~WeightedSetTerm() = default; void -WeightedSetTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment& index_env) +WeightedSetTerm::unpack_match_data(uint32_t docid, const ITermData& td, MatchData& match_data, const fef::IIndexEnvironment&) { - (void) index_env; vespalib::hash_map> scores; HitList hl_store; for (const auto& term : _terms) { -- cgit v1.2.3