apache / apache/lucene

stopword files should be versioned; acessor for default(s) should take a Version property [LUCENE-2368]

Open
#3,444 3 comments 0 reactions 0 assignees View on GitHub
affects-version:2.9.3 affects-version:3.0.2 legacy-jira-priority:Major module:analysis type:enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.