SynonymGraphFilter to optionally skip keywords [LUCENE-8745]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Right now, SynonymGraphFilter operates on the original input term, and the repeated term that is marked as Keyword. This issue is to optionally keep it from operating on the term marked as Keyword, just as like stemmers (should) behave.
---
Migrated from [LUCENE-8745](https://issues.apache.org/jira/browse/LUCENE-8745) by Markus Jelsma, updated Dec 08 2021
Attachments: [LUCENE-8745.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8745/LUCENE-8745.patch)
Contributor guide
Research direction
Start by reading SynonymGraphFilter and the attached LUCENE-8745.patch, then trace how the original and repeated keyword-marked terms are processed. Done means the filter can optionally skip terms marked as Keyword while preserving existing behavior when the option is not enabled, with relevant tests added or updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100