diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-02-19 11:58:44 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2024-02-19 11:58:44 +0000 |
commit | 7788bf9ebb7294fef8c4e486cdb3f834078eddd4 (patch) | |
tree | dafa90fd0f1ae6eea869133ab77272482a7b2a99 /searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp | |
parent | 852b79ee4275ecb59873b3dbba372aae6f2931e2 (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.cpp | 5 |
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() |