Default Stopwords should use specific Version in CharArraySet construtor [LUCENE-2101]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
#3170 added a version to the constructor of CharArraySet. The default sets in \*Analyzer uses Version.LUCENE_CURRENT which currently does not do any harm. Yet, in the future changes to CharArraySet depending on the version could potentially cause index corruption if those default version are not changed. To make sure such a corruption can not happen the default sets should use a specific Version (Version.LUCENE_31)
---
Migrated from [LUCENE-2101](https://issues.apache.org/jira/browse/LUCENE-2101) by Simon Willnauer (@s1monw), updated May 09 2016
Linked issues:
- #3170
Contributor guide
Research direction
Search the Analyzer implementations for default stopword sets constructed through CharArraySet, then read the constructor change from #3170 and the surrounding Version handling. Done means the default sets use the specific Version.LUCENE_31 rather than Version.LUCENE_CURRENT, with no remaining affected Analyzer defaults overlooked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100