[
https://issues.apache.org/jira/browse/LUCENE-5687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002232#comment-14002232
]
Paul Elschot commented on LUCENE-5687:
--------------------------------------
This is a token stream that can be prefilled by adding token states.
It is taken from the proposed label module, LUCENE-5627, the tests there also
pass when using this.
The tests from the analysis common module also pass.
The code is at pull request https://github.com/apache/lucene-solr/pull/53 .
This makes PrefillTokenStream a superclass of
TeeSinkTokenFilter.SinkTokenStream.
The existing code duplication with CachingTokenStream from the core module is
left as it is.
> Add PrefillTokenStream in analysis common module
> ------------------------------------------------
>
> Key: LUCENE-5687
> URL: https://issues.apache.org/jira/browse/LUCENE-5687
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/analysis
> Affects Versions: 4.9
> Reporter: Paul Elschot
> Priority: Minor
> Fix For: 4.9
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]