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

   Right, I forgot the key fact here that also came out during your 
presentation at ApacheCoC. Namely in the system where you want to use this, the 
documents have been *completely reindexed* from source that is stored in the 
index in a stored field (IIRC) so there can be no question of lingering data 
that was indexed by a previous version.  Maybe you could explain that a bit 
here? So all the individual segments are "new version" segments and it is only 
the index-wide min-segment version that is preventing the reader from opening 
the index, which is really now just a piece of "ghost metadata" that preserves 
the fact that at one time there were some segments in this index that had been 
created by an older version of Lucene.
   
   I think the important restriction to keep in place is that readers will 
still not be able to open indexes where *any segment* was originally written 
with an index version < MIN_SUPPORTED_MAJOR.  The change is to have the reader 
make the decision based on the aggregate of the segment-level metadata (in 
SegmentInfo) rather than looking at the index-wide metadata (in SegmentInfos, I 
think).
   


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