lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2372) Replace deprecated TermAttribute by new CharTermAttribute
Date Mon, 31 May 2010 19:13:37 GMT

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

Michael McCandless commented on LUCENE-2372:
--------------------------------------------

bq. separately, we should open another issue (if there isnt one) for use of other preflex
apis in contrib, as i see some uses of TermEnum etc just fixing these up.

We have LUCENE-2378 open for this -- I gotta get to it!

> Replace deprecated TermAttribute by new CharTermAttribute
> ---------------------------------------------------------
>
>                 Key: LUCENE-2372
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2372
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/analyzers
>    Affects Versions: 3.1
>            Reporter: Uwe Schindler
>             Fix For: 4.0
>
>         Attachments: LUCENE-2372.patch, LUCENE-2372.patch, LUCENE-2372.patch, LUCENE-2372.patch,
LUCENE-2372.patch, LUCENE-2372_contrib.patch, LUCENE-2372_contrib.patch
>
>
> After LUCENE-2302 is merged to trunk with flex, we need to carry over all tokenizers
and consumers of the TokenStreams to the new CharTermAttribute.
> We should also think about adding a AttributeFactory that creates a subclass of CharTermAttributeImpl
that returns collation keys in toBytesRef() accessor. CollationKeyFilter is then obsolete,
instead you can simply convert every TokenStream to indexing only CollationKeys by changing
the attribute implementation.

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


Mime
View raw message