aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-03-15 13:19:05 +0100
committerTor Egge <Tor.Egge@online.no>2024-03-15 13:19:05 +0100
commite7f299d95f8fe6d0392e367598a3449d762f1604 (patch)
treea7c577f99c178e22770a817bcc97d18e66e885ad /searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
parentc44558af0a82be9dda1f1ba8bf84337789a906e5 (diff)
Use filter settings from rank profiles and query terms in streaming search.
Diffstat (limited to 'searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp')
-rw-r--r--searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp b/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
index a9516d8aee4..728b9a2ab76 100644
--- a/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
+++ b/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
@@ -74,6 +74,7 @@ QueryTerm::QueryTerm(std::unique_ptr<QueryNodeResultBase> org, stringref termS,
_result(org.release()),
_encoding(0x01),
_isRanked(true),
+ _filter(false),
_weight(100),
_uniqueId(0),
_fieldInfo()
@@ -115,11 +116,11 @@ QueryTerm::set_element_length(uint32_t hitlist_idx, uint32_t element_length)
}
void
-QueryTerm::unpack_match_data(uint32_t docid, const fef::ITermData& td, fef::MatchData& match_data)
+QueryTerm::unpack_match_data(uint32_t docid, const fef::ITermData& td, fef::MatchData& match_data, const fef::IIndexEnvironment& index_env)
{
HitList list;
const HitList & hit_list = evaluateHits(list);
- unpack_match_data_helper(docid, td, match_data, hit_list, *this);
+ unpack_match_data_helper(docid, td, match_data, hit_list, *this, is_filter(), index_env);
}
NearestNeighborQueryNode*