[
https://issues.apache.org/jira/browse/LUCENE-5412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878796#comment-13878796
]
Shai Erera commented on LUCENE-5412:
------------------------------------
Could we change SegmentInfo.setFiles() to strip the segment name maybe? Just
thinking of fewer places in the code to touch.
> SI.files should strip segment names
> -----------------------------------
>
> Key: LUCENE-5412
> URL: https://issues.apache.org/jira/browse/LUCENE-5412
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
>
> Followup from LUCENE-5377:
> the root cause of all the hair there is because SI.files (set of files used
> by the segment), must be rewritten in addIndexes because its invalidated by
> the change of segment name.
> alternatively we could just not store this stuff, and strip the segment
> names. This is how CFS deals with this issue already.
> I think we can do this in a backwards compatible way too: for old codecs, the
> readers could be changed to simply strip internally (e.g. ignore the "extra"
> information they wrote) ?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]