aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/query/streaming/queryterm.h
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-02-09 17:01:32 +0100
committerTor Egge <Tor.Egge@online.no>2024-02-09 17:01:32 +0100
commite8d5226c0e499db017eef46cfeea20bbe8b11133 (patch)
treec89c14215e504395c9bcd25b43852b1e4bca4b73 /searchlib/src/vespa/searchlib/query/streaming/queryterm.h
parent332bdd44a075c16418b49ddfe66965e5a46e2e8c (diff)
Reduce code duplication.
Diffstat (limited to 'searchlib/src/vespa/searchlib/query/streaming/queryterm.h')
-rw-r--r--searchlib/src/vespa/searchlib/query/streaming/queryterm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/queryterm.h b/searchlib/src/vespa/searchlib/query/streaming/queryterm.h
index 3f45a99e805..2cb4f2d2ebb 100644
--- a/searchlib/src/vespa/searchlib/query/streaming/queryterm.h
+++ b/searchlib/src/vespa/searchlib/query/streaming/queryterm.h
@@ -105,7 +105,8 @@ public:
virtual const EquivQueryNode* as_equiv_query_node() const noexcept;
virtual void unpack_match_data(uint32_t docid, const fef::ITermData& td, fef::MatchData& match_data);
protected:
- void unpack_match_data_helper(uint32_t docid, const fef::ITermData& td, fef::MatchData& match_data, const QueryTerm& fl_term) const;
+ template <typename HitListType>
+ static void unpack_match_data_helper(uint32_t docid, const fef::ITermData& td, fef::MatchData& match_data, const HitListType& hit_list, const QueryTerm& fl_term);
using QueryNodeResultBaseContainer = std::unique_ptr<QueryNodeResultBase>;
string _index;
EncodingBitMap _encoding;