lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Commented: (LUCENE-2484) Remove deprecated TermAttribute from tokenattributes and legacy support in indexer
Date Tue, 01 Jun 2010 14:09:42 GMT


Robert Muir commented on LUCENE-2484:

Since this clustering contrib depends on binary files that are tied to specific versions of
the Lucene API,
I suggest the following:

* only enable clustering in release branches (such as 3x)
* when we cut a new release branch from trunk (say we make a 4x), then add the new version
there that works with it.
* but never have this enabled in trunk, as it is a cyclic dependency

the problem is, further changes might happen in trunk as it is backwards-incompatible.

as a realistic theoretical example, we might all decide to move to write-once attributes API
In this case perhaps Uwe writes a sophisticated ® backwards for 3x, to enable easy migration,

but then the old TokenStream API itself would be deprecated in 3x and removed in trunk so
we can keep going.

> Remove deprecated TermAttribute from tokenattributes and legacy support in indexer
> ----------------------------------------------------------------------------------
>                 Key: LUCENE-2484
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 4.0
>         Attachments: LUCENE-2484.patch
> The title says it:
> - Remove interface TermAttribute
> - Remove empty fake implementation TermAttributeImpl extends CharTermAttributeImpl
> - Remove methods from CharTermAttributeImpl (and indirect from Token)
> - Remove sophisticated® backwards™ Layer in TermsHash*
> - Remove IAE from NumericTokenStream, if TA is available in AS
> - Fix rest of core tests (TestToken)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message