uschindler commented on code in PR #15341:
URL: https://github.com/apache/lucene/pull/15341#discussion_r2543179574
##########
lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99FlatVectorsWriter.java:
##########
@@ -153,10 +153,19 @@ public long ramBytesUsed() {
return total;
}
+ private static long alignOutput(IndexOutput output, VectorEncoding encoding)
throws IOException {
+ return output.alignFilePointer(
Review Comment:
That was my invention and was specifically made for CFS files. But keep in
mind, we may/should make this configurable in CFS files, too, because if you
have a CFS file warapped around your vectors, its gets unaligned if you require
64 bytes).
--
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]