This is an automated email from the ASF dual-hosted git repository. jianliangqi pushed a commit to branch clucene-2.0 in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
commit 2cb4fde413184714a9e67dbb1d5763a438d29e7e Author: airborne12 <airborn...@gmail.com> AuthorDate: Wed Dec 13 18:52:49 2023 +0800 [Fix](PFOR) fix DefaultDDEC (#147) --- src/core/CLucene/util/PFORUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CLucene/util/PFORUtil.cpp b/src/core/CLucene/util/PFORUtil.cpp index 8fecd40f..ae27f521 100644 --- a/src/core/CLucene/util/PFORUtil.cpp +++ b/src/core/CLucene/util/PFORUtil.cpp @@ -53,7 +53,7 @@ size_t DefaultDDEC(unsigned char *__restrict in, size_t n, uint32_t *__restrict b = in[bufferSize++]; docCode |= (b & 0x7F) << shift; } - docDelta += (docCode >> 1); + docDelta += docCode; // Corrected line: Removed right shift out[i] = docDelta; } return n; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org