apache / apache/lucene

Add a multiplexing TokenFilter [LUCENE-8327]

Open
#9,374 1 comment 0 reactions 1 assignee Claimed by @romseygeek View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Following on from #9320, and as a prerequisite of #9355, it would be useful to have a TokenFilter that takes a number of child filters, and repeats its incoming stream, applying each filter in turn. So for example, you could keep the original term, output ngrams, and apply stemming, all in the same token stream.

---
Migrated from [LUCENE-8327](https://issues.apache.org/jira/browse/LUCENE-8327) by Alan Woodward (@romseygeek)
Attachments: [LUCENE-8327.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8327/LUCENE-8327.patch)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.