apache / apache/lucene

BeiderMorseFilter: TestRandomChains fails with IndexOutOfBounds on empty term text [LUCENE-10360]

Open
#11,396 1 comment 0 reactions 0 assignees View on GitHub
legacy-jira-label:random-chains legacy-jira-priority:Major module:analysis type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Error seen:
```
2> TEST FAIL: useCharFilter=true text='Uf?F ?wlu{0

Contributor guide

Open the contributing guide

Research direction

Start with PhoneticEngine.encode at the stack-trace locations and BeiderMorseFilter.incrementToken; reproduce the failure through analysis TestRandomChains using an empty or whitespace-and-dash-cleaned term. Done means adding the easy regression test described in the issue and reporting the encoder bug upstream.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.