aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()) {