lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (SOLR-1876) Convert all tokenstreams and tests to use CharTermAttribute
Date Sat, 10 Apr 2010 19:08:41 GMT


Robert Muir updated SOLR-1876:

    Attachment: SOLR-1876.patch

This patch does the following:
* Converts all tokenstreams to use CharTermAttribute
* Makes all non-final concrete TokenStreams and Analyzers final (see LUCENE-2389)
* enables both lucene and solr assertions when running solr core and contrib tests (previously

All tests pass, and also pass with the additional assertions if you apply LUCENE-2389

> Convert all tokenstreams and tests to use CharTermAttribute
> -----------------------------------------------------------
>                 Key: SOLR-1876
>                 URL:
>             Project: Solr
>          Issue Type: Task
>          Components: Schema and Analysis
>    Affects Versions: 3.1
>            Reporter: Robert Muir
>             Fix For: 3.1
>         Attachments: SOLR-1876.patch
> See the improvements in LUCENE-2302.
> TermAttribute has been deprecated for flexible indexing, as terms can really be anything,
as long as they can
> be serialized to byte[]. 
> For character-terms, a CharTermAttribute has been created, with a more friendly API.
Additionally this attribute
> implements the CharSequence and Appendable interfaces.
> We should convert all Solr tokenstreams to use this new attribute.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message