commit | bc29a3d7ed389485a3a1f9d86017f13b324e73ce | [log] [tgz] |
---|---|---|
author | Adrien Grand <jpountz@gmail.com> | Thu Jul 28 15:26:51 2016 +0200 |
committer | Adrien Grand <jpountz@gmail.com> | Thu Jul 28 15:27:14 2016 +0200 |
tree | 9ebae3792266b1c1f49ac79ac65012b50cbb1be6 | |
parent | c2db9fae2cc312a13a66e6dab9989ed65738fe02 [diff] |
Add missing update of `lastDocId` in AssertingPointsFormat.
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.java index c3c672b..0bbf2c6 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 @@ assert false: "point values are out of order"; } System.arraycopy(packedValue, 0, lastDocValue, 0, bytesPerDim); + lastDocID = docID; } in.visit(docID, packedValue); }