gf2121 commented on pull request #557: URL: https://github.com/apache/lucene/pull/557#issuecomment-998941402
Thank you very much for your guidance! This is of great help to me. I will fork a new `DocvalueFormat` for this experiment. Actually, what I thought at first was to only change the structure of addresses, implementing a new `LongValues` to replace the `DirectReader` or `DirectMonotonicReader` to read addresses, e.g. a `ForUtilLongValues`. When users try to get long through an index, It will use ForUtil to decompress the required block (of course, caching the block there and if the next call in the same block we can reuse it). Then it seems that I don't need to care about the skip data for sparse situations as IndexDISI will help me to get the index related to current docid. In this way, all i need to care is only the new implementation of LongValues. I wonder if this approach will make sense? Thanks a lot for so quick feedback and your patience! -- 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]
