You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2014/05/19 21:47:38 UTC

[jira] [Commented] (LUCENE-5687) Add PrefillTokenStream in analysis common module

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org