mirror of
https://github.com/apache/lucene.git
synced 2025-03-08 09:46:44 +00:00
change StoredFieldsInts#writeInts offset from 0 to start when data is allEquals
This commit is contained in:
parent
3c163745bb
commit
c91e9b34b8
@ -38,7 +38,7 @@ class StoredFieldsInts {
|
||||
}
|
||||
if (allEqual) {
|
||||
out.writeByte((byte) 0);
|
||||
out.writeVInt(values[0]);
|
||||
out.writeVInt(values[start]);
|
||||
} else {
|
||||
long max = 0;
|
||||
for (int i = 0; i < count; ++i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user