diff options
author | Tor Egge <Tor.Egge@verizonmedia.com> | 2019-09-06 15:13:06 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@verizonmedia.com> | 2019-09-06 15:13:06 +0200 |
commit | 901f1560b64dc067538df1070a6cd7b61bbe0d4b (patch) | |
tree | a69c9637d5a25df3d75a72eed5a5e27351b47f24 /searchlib/src | |
parent | 8775886dc638b8f2ec739c86c14b8e081c19b137 (diff) |
Correct code for doing rare buffer flip when reading compressed posting list.
Diffstat (limited to 'searchlib/src')
-rw-r--r-- | searchlib/src/vespa/searchlib/diskindex/zc4_posting_reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/diskindex/zc4_posting_reader.cpp b/searchlib/src/vespa/searchlib/diskindex/zc4_posting_reader.cpp index 71a836fb0ac..762ee209e2c 100644 --- a/searchlib/src/vespa/searchlib/diskindex/zc4_posting_reader.cpp +++ b/searchlib/src/vespa/searchlib/diskindex/zc4_posting_reader.cpp @@ -61,7 +61,7 @@ Zc4PostingReader<bigEndian>::read_doc_id_and_features(DocIdAndFeatures &features if (__builtin_expect(oCompr >= d._valE, false)) { UC64_DECODECONTEXT_STORE(o, d._); _readContext.readComprBuffer(); - UC64_DECODECONTEXT_STORE(o, d._); + UC64_DECODECONTEXT_LOAD(o, d._); } UC64_DECODEEXPGOLOMB_SMALL_NS(o, K_VALUE_ZCPOSTING_NUM_OCCS, EC); _no_skip.set_num_occs(val64 + 1); |