aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-02-19 11:58:44 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2024-02-19 11:58:44 +0000
commit7788bf9ebb7294fef8c4e486cdb3f834078eddd4 (patch)
treedafa90fd0f1ae6eea869133ab77272482a7b2a99 /searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
parent852b79ee4275ecb59873b3dbba372aae6f2931e2 (diff)
- Hide recall terms from ranking.
- Add noexcept.
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 0d0f5a7c4ad..a9516d8aee4 100644
--- a/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
+++ b/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
@@ -69,10 +69,11 @@ QueryTerm::visitMembers(vespalib::ObjectVisitor & visitor) const
QueryTerm::QueryTerm(std::unique_ptr<QueryNodeResultBase> org, stringref termS, const string & indexS,
Type type, Normalizing normalizing)
: QueryTermUCS4(QueryNormalization::optional_fold(termS, type, normalizing), type),
+ _hitList(),
_index(indexS),
- _encoding(0x01),
_result(org.release()),
- _hitList(),
+ _encoding(0x01),
+ _isRanked(true),
_weight(100),
_uniqueId(0),
_fieldInfo()