lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3844) Deprecate Token class and remove in trunk
Date Tue, 06 Mar 2012 02:31:57 GMT

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


Mime
View raw message