rahulgoswami commented on PR #14607:
URL: https://github.com/apache/lucene/pull/14607#issuecomment-3310474509

   **Approach 3**
   This is inspired by @msokolov 's idea at the recently concluded Community 
Over Code. Do we HAVE to rely on indexCreatedVersionMajor to decide index 
compatibility? 
   
   If in SegmentInfos.readCommit() there could be a check over the list of 
SegmentInfo and if all segments have minVersion and version >= 
MIN_SUPPORTED_MAJOR, it should be good to open. Considering that even for an 
average large index this would mean a few hundred iterations, would this one 
time check at startup time be a worthy tradeoff?


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

Reply via email to