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

Adrien Grand commented on LUCENE-8961:
--------------------------------------

Agreed it is awkward. When I said "on top of CheckIndex", I was rather thinking 
of running CheckIndex programmatically and then looking at the return value to 
understand what segments might need salvaging. A separate stand-alone tool 
sounds good to me too.

> CheckIndex: pre-exorcise document id salvage
> --------------------------------------------
>
>                 Key: LUCENE-8961
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8961
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Christine Poerschke
>            Priority: Minor
>         Attachments: LUCENE-8961.patch, LUCENE-8961.patch
>
>
> The 
> [CheckIndex|https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.2.0/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java]
>  tool supports the exorcising of corrupt segments from an index.
> This ticket proposes to add an extra option which could first be used to 
> potentially salvage the document ids of the segment(s) about to be exorcised. 
> Re-ingestion for those documents could then be arranged so as to repair the 
> data damage caused by the exorcising.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to