iverase commented on pull request #2094:
URL: https://github.com/apache/lucene-solr/pull/2094#issuecomment-737236259


   Thanks @dweiss! I think your approach is potentially more efficient but 
harder to make it to a state where you have everything working. I am currently 
taking a different approach by increasing the version number on the codec 
files. Therefore the writers should be  mostly untouched and only the readers 
should wrap the IndexInput when the version is lower that the current one.
   
   In most of the cases the real change on the codec is a one-liner. 
Unfortunately I need to do some refactor and therefore the patch is bigger. I 
opened an issue to do the refactor on the side as I think it is valuable even 
if this PR does not succeed.
   
   The only issue left is the PackedInts algorithms as I think the need to be 
adapted. I have done that already for the DirectWriter.


----------------------------------------------------------------
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

Reply via email to