Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lucene/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ Other

* GITHUB#15960: Move parent field from DWPT to IndexingChain. (Tim Brooks)

* GITHUB#16073: Simplify SortedDocIDMerger.next(). (Tim Brooks)

======================= Lucene 10.4.0 =======================

API Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ public T next() throws IOException {
} else {
current = queue.pop();
}
} else if (queue.size() > 0) {
} else {
// queue cannot be empty here: if it were, queueMinDocID == NO_MORE_DOCS, and any valid
// nextDoc would satisfy nextDoc < queueMinDocID, taking the fast path above
assert queueMinDocID == queue.top().mappedDocID;
assert nextDoc > queueMinDocID;
T newCurrent = queue.top();
Expand Down
Loading