rmuir commented on issue #13797:
URL: https://github.com/apache/lucene/issues/13797#issuecomment-3180151925

   > One perhaps minor comment about the codec reader gate is that the reading 
side already supports reading from N-2 fully. I am not sure this distinction 
was made above. Lucene 10 reads indices created in Lucene 8.0 and onwards. That 
is possible via an expert `DirectoryReader#open` method that takes a min 
supported major argument (see 
[c1ae6dc](https://github.com/apache/lucene/commit/c1ae6dc07c9a988533cbe7176bdeb49e2fca1d9c)).
 8.0 codecs are still shipped with Lucene 10, hence no change is really needed 
there. We may decide to leave 8.0 codecs around in Lucene 11 as well if we want 
to ship it soon? The only thing we'll need to do is indeed flip the min 
supported major constant so that reading from N-2 (or -3?) does not require a 
separate API call.
   
   I hate this too. We all carry the burden of extra back compat, but it 
doesn't work for ordinary users, only big companies who know how to hold the 
expert API.


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