aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-02-09 23:33:48 +0100
committerGitHub <noreply@github.com>2024-02-09 23:33:48 +0100
commit47498126e5dd7c706431ef55305c29c79843da3e (patch)
tree29deb058f1baebed5f1b31266004e25d8b1b55c9
parenta59d72339a96ead18d336b290c8b4e89c768bfa7 (diff)
parentdab3a0f63e5db5c9410816ef3fd85f2e60adeecc (diff)
Merge pull request #30231 from vespa-engine/toregge/copy-interleaved-features-in-term-field-match-data
Copy interleaved features in search::fef::TermFieldMatchData.
-rw-r--r--searchlib/src/vespa/searchlib/fef/termfieldmatchdata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/fef/termfieldmatchdata.cpp b/searchlib/src/vespa/searchlib/fef/termfieldmatchdata.cpp
index f270b1ceba8..b0398f85fc7 100644
--- a/searchlib/src/vespa/searchlib/fef/termfieldmatchdata.cpp
+++ b/searchlib/src/vespa/searchlib/fef/termfieldmatchdata.cpp
@@ -22,8 +22,8 @@ TermFieldMatchData::TermFieldMatchData(const TermFieldMatchData & rhs) :
_fieldId(rhs._fieldId),
_flags(rhs._flags),
_sz(0),
- _numOccs(0),
- _fieldLength(0)
+ _numOccs(rhs._numOccs),
+ _fieldLength(rhs._fieldLength)
{
memset(&_data, 0, sizeof(_data));
if (isRawScore()) {