Please add public method Analyzer#createComponents(Analyzer analyzer, String fieldName, Reader reader) to org.apache.lucene.analysis.Analyzer [LUCENE-6323]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Please add public method Analyzer#createComponents(Analyzer analyzer, String fieldName,
Reader reader) to org.apache.lucene.analysis.Analyzer
This required to decorate any existing analyzers. Or make existing createComponents method as public.
PS: I'm doing a migration from Lucene 2.9 to 4.9.
---
Migrated from [LUCENE-6323](https://issues.apache.org/jira/browse/LUCENE-6323) by Sekhar, updated Jun 10 2015
Environment:
```
Windows/Linux, JDK 7/8
```
Contributor guide
Research direction
Start at org.apache.lucene.analysis.Analyzer and inspect the existing createComponents method and its callers. Determine whether exposing the requested public method or changing the existing method visibility preserves the Analyzer API; done means existing analyzers can be decorated through the supported public API without breaking compatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100