Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1876

Convert all tokenstreams and tests to use CharTermAttribute

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: