jbellis opened a new pull request, #2451: URL: https://github.com/apache/cassandra/pull/2451
This PR upgrades to Lucene 9.7. Notes on the upgrade path: - RamIndexOutput is replaced with ResettableByteBuffersIndexOutput, an extension of ByteBuffersIndexOutput, which was the closest thing to a replacement of RamIndexOutput. - ByteArrayIndexInput is gone with no real replacement. ByteBufferIndexInput *looks* like it could be a replacement but it is very cumbersome to use for anything but mmapped buffers. - Lucene exposes the code we needed from DirectReaders more or less directly in DirectReader now, so we can delete the old copied code. - Lucene changed its data files to be little endian, but to keep its compatibility story simple it retained BE for the header and footer ints. That's the cause of the changes in SAICodecUtils. - We could gain a bit of performance making the rest of our code natively little endian but that is too big of a change for this patch. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

