This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new b514d6dedba branch-4.1: [fix](clucene) Fix clucene multi-segment
readBlock (#66736) (#66738)
b514d6dedba is described below
commit b514d6dedba80941e4b20a273f7302fee5e531c5
Author: hoshinojyunn <[email protected]>
AuthorDate: Fri Aug 14 10:09:46 2026 +0800
branch-4.1: [fix](clucene) Fix clucene multi-segment readBlock (#66736)
(#66738)
### What problem does this PR solve?
Issue Number: N/A
Related PR: https://github.com/apache/doris-thirdparty/pull/402
Problem Summary:
Advance `contrib/clucene` from `c51b5cc9adc` to `abe2b71a1c1`, which
contains the fix for block-WAND reads through composite readers
(`MultiTermDocs`). The prior submodule revision did not expose or
correctly maintain block-postings state across segment-reader
boundaries. The updated revision globalizes physical block document IDs,
invalidates cached block metadata when a cross-reader skip occurs,
preserves short tail blocks, and corrects the first-block posting count
after a skip-list lookup.
The upstream change includes composite-reader regression coverage for
511/512/tail block layouts, cross-reader `skipToBlock()` transitions,
and short child readers.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [x] Regression test: upstream CLucene PR #402 adds `TestReadRange.cpp`
coverage for composite-reader block reads and skips.
- [x] Unit Test: upstream CLucene PR #402 CI passed `CLucene UT
(Linux)`; parent-repository `git diff --check origin/master...HEAD` and
`git fsck --no-progress --connectivity-only HEAD --no-dangling` pass
locally.
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [x] Yes. Doris inherits the corrected composite-reader block-WAND
behavior from the updated CLucene revision.
- Does this need documentation?
- [x] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
contrib/clucene | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/clucene b/contrib/clucene
index c51b5cc9adc..abe2b71a1c1 160000
--- a/contrib/clucene
+++ b/contrib/clucene
@@ -1 +1 @@
-Subproject commit c51b5cc9adc63817ad8322f617c75737ece7288d
+Subproject commit abe2b71a1c1afd3120ce39740d2346d07a5c2309
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]