Factor MockGraphTokenFilter into LookaheadTokenFilter + random tokens [LUCENE-3968]
Open
legacy-jira-fix-version:4.9
legacy-jira-fix-version:6.0
legacy-jira-priority:Major
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
MockGraphTokenFilter is rather hairy... I've managed to simplify it (I think!) by breaking apart its two functions...
I think LookaheadTokenFilter can be used in the future for other graph aware filters.
---
Migrated from [LUCENE-3968](https://issues.apache.org/jira/browse/LUCENE-3968) by Michael McCandless (@mikemccand), updated May 09 2016
Attachments: [LUCENE-3968.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-3968/LUCENE-3968.patch)
Contributor guide
Assessment
This issue has not been assessed yet.