Possible bug in StemmerOverrideFilter / FST [LUCENE-6977]
Open
affects-version:5.4
legacy-jira-priority:Minor
module:analysis
type:bug
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
We ran across an issue in a custom token filter that like the StemmerOverrideFilter relies on the FST. The issue is reproducible in the StemmerOverrideFilter. I am not sure whether it is a real problem in the FST.
Attached a patch with a unit test that is going to fail. It uses random input with some code from commons-lang3.
---
Migrated from [LUCENE-6977](https://issues.apache.org/jira/browse/LUCENE-6977) by Markus Jelsma, updated Mar 07 2018
Attachments: [LUCENE-6977.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6977/LUCENE-6977.patch)
Contributor guide
Assessment
This issue has not been assessed yet.