Apache Lucene open-source search software
Add missing update of `lastDocId` in AssertingPointsFormat.
Adrien Grandbc29a3d7ed38
diff --git a/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java b/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.javaindex c3c672b6475..0bbf2c6faf6 100644--- a/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java+++ b/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java@@ -126,6 +126,7 @@ public final class AssertingPointsFormat extends PointsFormat {assert false: "point values are out of order";}System.arraycopy(packedValue, 0, lastDocValue, 0, bytesPerDim);+ lastDocID = docID;}in.visit(docID, packedValue);}