lucene-dev mailing list archives

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


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
before its totally removed.
> Deprecate Token class and remove in trunk
> -----------------------------------------
>                 Key: LUCENE-3844
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message