Suggesters should verify its index before loading it from disk [LUCENE-5430]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
The issue was pointed out by Michael in the discussion on #6467.
The idea is to make all the suggesters use CodecUtils.writeHeader when they are about to store their index on file and subsequently perform a check when they are loaded.
---
Migrated from [LUCENE-5430](https://issues.apache.org/jira/browse/LUCENE-5430) by Areek Zillur (@areek), updated May 09 2016
Contributor guide
Research direction
Start by locating the suggester implementations that store and load indexes, then read CodecUtils.writeHeader and the related discussion in issue #6467. Review each suggester's disk persistence path. Done means all suggesters write the header before storing an index and verify it when loading.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100