iverase commented on a change in pull request #2094: URL: https://github.com/apache/lucene-solr/pull/2094#discussion_r529539703
########## File path: lucene/core/src/java/org/apache/lucene/util/bkd/OfflinePointWriter.java ########## @@ -54,7 +54,10 @@ public void append(byte[] packedValue, int docID) throws IOException { assert closed == false : "Point writer is already closed"; assert packedValue.length == config.packedBytesLength : "[packedValue] must have length [" + config.packedBytesLength + "] but was [" + packedValue.length + "]"; out.writeBytes(packedValue, 0, packedValue.length); - out.writeInt(docID); + out.writeByte((byte) (docID >> 24)); + out.writeByte((byte) (docID >> 16)); + out.writeByte((byte) (docID >> 8)); + out.writeByte((byte) (docID >> 0)); Review comment: done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org