mirror of https://github.com/apache/lucene.git
Add missing update of `lastDocId` in AssertingPointsFormat.
This commit is contained in:
parent
c2db9fae2c
commit
bc29a3d7ed
|
@ -126,6 +126,7 @@ public final class AssertingPointsFormat extends PointsFormat {
|
||||||
assert false: "point values are out of order";
|
assert false: "point values are out of order";
|
||||||
}
|
}
|
||||||
System.arraycopy(packedValue, 0, lastDocValue, 0, bytesPerDim);
|
System.arraycopy(packedValue, 0, lastDocValue, 0, bytesPerDim);
|
||||||
|
lastDocID = docID;
|
||||||
}
|
}
|
||||||
in.visit(docID, packedValue);
|
in.visit(docID, packedValue);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue