[ 
https://issues.apache.org/jira/browse/LUCENE-3844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222938#comment-13222938
 ] 

Robert Muir commented on LUCENE-3844:
-------------------------------------

How much work is this? I think even removing would be difficult.

Maybe we should push deprecating this out to 4.0, giving us a lot of time to 
clean things up
before its totally removed.
                
> Deprecate Token class and remove in trunk
> -----------------------------------------
>
>                 Key: LUCENE-3844
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3844
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: core/other, modules/analysis
>    Affects Versions: 3.5
>            Reporter: Uwe Schindler
>             Fix For: 3.6, 4.0
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to