[ https://issues.apache.org/jira/browse/SOLR-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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 disabled!) 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: https://issues.apache.org/jira/browse/SOLR-1876 > 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: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira