stopword files should be versioned; acessor for default(s) should take a Version property [LUCENE-2368]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
The existing language specific stopword files on the trunk have no version info in their filenames – this will make it awkward/confusing to update them as time goes on. LIkewise, many classes have a "getDefaultStopSet()" which makes these methods (when called by client code) suffer from the same API back-compat issues that the Analyzers themselves did before we added Version.
---
Migrated from [LUCENE-2368](https://issues.apache.org/jira/browse/LUCENE-2368) by Chris M. Hostetter (@hossman), updated May 16 2011
Contributor guide
Research direction
Start by locating the language-specific stopword files and classes that expose getDefaultStopSet(). Review how Analyzer APIs use Version, then update the stopword filenames and default-stop-set accessors so version information is explicit and the affected APIs remain clear for clients.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, search
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100