apache / apache/lucene

add 'replace' option for 'beidermorse' phonetic filter [LUCENE-7954]

Open
#9,003 2 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor module:analysis type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

It would be great to add 'replace' boolean option for `beidermorse` phonetic filter.

This option would allow to say if original term is replaced or not.
It would have `true` as default value (current behaviour).

---
Migrated from [LUCENE-7954](https://issues.apache.org/jira/browse/LUCENE-7954) by Fabien Baligand (@fbaligand), 1 vote, updated Sep 07 2017

Contributor guide

Open the contributing guide

Research direction

Start by locating the beidermorse phonetic filter and any existing tests; inspect how filter options are parsed and how the current replacement behavior is tested. Done means a boolean replace option exists, defaults to true for current behavior, and tests cover both settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.