uschindler commented on pull request #203:
URL: https://github.com/apache/lucene/pull/203#issuecomment-874900622


   After reviewing the code by DocValues and DirectPackedReader, I figured out 
that the alignment should be configurable. Depending of a RandomAccessInput 
based on an IndexInput slice, the alignment should be adapted to the inner 
entry size (byte, int, short, long).
   
   So I changed the IndexOutput method that allows to align the file pointer to 
take any power of 2 as alignment. I also added extensive tests, so it works 
correct.


-- 
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: issues-unsubscr...@lucene.apache.org

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

Reply via email to