lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6762) 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.
Date Thu, 27 Aug 2015 20:35:45 GMT

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

Michael McCandless commented on LUCENE-6762:
--------------------------------------------

{{skipMissing}} is a spooky option; if accidentally mis-used it can make you think you have
all segments if you forget to check the {{missingSegmentInfo}} ... can we make this new API
package private and leave the public API unchanged?

Shouldn't we also catch {{NoSuchFileException}}?

Can you have the precise exception that was hit, and print it to the user from {{CheckIndex}}?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message