[ 
https://issues.apache.org/jira/browse/LUCENE-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717759#comment-14717759
 ] 

Mike Drob commented on LUCENE-6762:
-----------------------------------

I'll make the methods package-private and add {{NoSuchFileException}}.

If the user specifies verbose option, then I added that we pass the infoStream 
to {{SegmentInfos}} from {{CheckIndex}}. Current behaviour is to print just the 
missing segment name - do you think there is additional value in the full trace?

> CheckIndex cannot "fix" indexes that have individual segments with missing or 
> corrupt .si files because sanity checks will fail trying to read the index 
> initially.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6762
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6762
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: LUCENE-6762.patch
>
>
> Seems like we should still be able to partially recover by dropping these 
> segments with CheckIndex.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to