You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2023/02/07 09:47:09 UTC

[lucene] branch main updated: Fix nightly compatibility tests after #12116.

This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new 8b572f074e4 Fix nightly compatibility tests after #12116.
8b572f074e4 is described below

commit 8b572f074e4a9f14680e82132b71366d85b5edc8
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Tue Feb 7 10:46:30 2023 +0100

    Fix nightly compatibility tests after #12116.
---
 .../lucene50/compressing/Lucene50CompressingStoredFieldsWriter.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/compressing/Lucene50CompressingStoredFieldsWriter.java b/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/compressing/Lucene50CompressingStoredFieldsWriter.java
index 53104fd1c5c..de0fe020c96 100644
--- a/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/compressing/Lucene50CompressingStoredFieldsWriter.java
+++ b/lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene50/compressing/Lucene50CompressingStoredFieldsWriter.java
@@ -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