Fix nightly compatibility tests after #12116.

This commit is contained in:
Adrien Grand 2023-02-07 10:46:30 +01:00
parent bc09c2a0d9
commit 8b572f074e
1 changed files with 3 additions and 3 deletions

View File

@ -289,7 +289,7 @@ public final class Lucene50CompressingStoredFieldsWriter extends StoredFieldsWri
++numStoredFieldsInDoc;
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_LONG;
bufferedDocs.writeVLong(infoAndBits);
writeTLong(bufferedDocs, value);
writeTLong(EndiannessReverserUtil.wrapDataOutput(bufferedDocs), value);
}
@Override
@ -297,7 +297,7 @@ public final class Lucene50CompressingStoredFieldsWriter extends StoredFieldsWri
++numStoredFieldsInDoc;
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_FLOAT;
bufferedDocs.writeVLong(infoAndBits);
writeZFloat(bufferedDocs, value);
writeZFloat(EndiannessReverserUtil.wrapDataOutput(bufferedDocs), value);
}
@Override
@ -305,7 +305,7 @@ public final class Lucene50CompressingStoredFieldsWriter extends StoredFieldsWri
++numStoredFieldsInDoc;
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_DOUBLE;
bufferedDocs.writeVLong(infoAndBits);
writeZDouble(bufferedDocs, value);
writeZDouble(EndiannessReverserUtil.wrapDataOutput(bufferedDocs), value);
}
@Override