Add missing update of `lastDocId` in AssertingPointsFormat.

This commit is contained in:
Adrien Grand 2016-07-28 15:26:51 +02:00
parent c2db9fae2c
commit bc29a3d7ed
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}