mirror of https://github.com/apache/lucene.git
Fix nightly compatibility tests after #12116.
This commit is contained in:
parent
bc09c2a0d9
commit
8b572f074e
|
@ -289,7 +289,7 @@ public final class Lucene50CompressingStoredFieldsWriter extends StoredFieldsWri
|
||||||
++numStoredFieldsInDoc;
|
++numStoredFieldsInDoc;
|
||||||
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_LONG;
|
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_LONG;
|
||||||
bufferedDocs.writeVLong(infoAndBits);
|
bufferedDocs.writeVLong(infoAndBits);
|
||||||
writeTLong(bufferedDocs, value);
|
writeTLong(EndiannessReverserUtil.wrapDataOutput(bufferedDocs), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -297,7 +297,7 @@ public final class Lucene50CompressingStoredFieldsWriter extends StoredFieldsWri
|
||||||
++numStoredFieldsInDoc;
|
++numStoredFieldsInDoc;
|
||||||
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_FLOAT;
|
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_FLOAT;
|
||||||
bufferedDocs.writeVLong(infoAndBits);
|
bufferedDocs.writeVLong(infoAndBits);
|
||||||
writeZFloat(bufferedDocs, value);
|
writeZFloat(EndiannessReverserUtil.wrapDataOutput(bufferedDocs), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -305,7 +305,7 @@ public final class Lucene50CompressingStoredFieldsWriter extends StoredFieldsWri
|
||||||
++numStoredFieldsInDoc;
|
++numStoredFieldsInDoc;
|
||||||
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_DOUBLE;
|
final long infoAndBits = (((long) info.number) << TYPE_BITS) | NUMERIC_DOUBLE;
|
||||||
bufferedDocs.writeVLong(infoAndBits);
|
bufferedDocs.writeVLong(infoAndBits);
|
||||||
writeZDouble(bufferedDocs, value);
|
writeZDouble(EndiannessReverserUtil.wrapDataOutput(bufferedDocs), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue