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. [LUCENE-6762]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Seems like we should still be able to partially recover by dropping these segments with CheckIndex.
---
Migrated from [LUCENE-6762](https://issues.apache.org/jira/browse/LUCENE-6762) by Mark Miller (@markrmiller), updated Aug 28 2015
Attachments: [LUCENE-6762.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6762/LUCENE-6762.patch)
Linked issues:
- #7009
Contributor guide
Research direction
Start by reading CheckIndex's initial sanity-check path and how it handles segments with missing or corrupt .si files. Compare the behavior with the attached LUCENE-6762.patch and determine how partial recovery by dropping those segments should work; done means CheckIndex can recover the remaining index without failing its initial checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100