You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:48:30 UTC

[jira] [Updated] (LUCENE-3844) Deprecate Token class and remove in trunk

     [ https://issues.apache.org/jira/browse/LUCENE-3844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley updated LUCENE-3844:
---------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> Deprecate Token class and remove in trunk
> -----------------------------------------
>
>                 Key: LUCENE-3844
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3844
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: core/other, modules/analysis
>    Affects Versions: 3.5
>            Reporter: Uwe Schindler
>             Fix For: 4.8
>
>
> After issues like LUCENE-3843, introducing new attributes, we should remove Token class in trunk, as it leads to code that ignores those new attributes (like PositionLengthAttribute, ScriptAttribute, KeywordAttribute,...). If you want a holder for all Attributes a TokenStream, use TS.cloneAttributes().



--
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