Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2372

Replace deprecated TermAttribute by new CharTermAttribute

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.1, 4.0-ALPHA
    • modules/analysis
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-2372.patch
          28 kB
          Uwe Schindler
        2. LUCENE-2372.patch
          82 kB
          Uwe Schindler
        3. LUCENE-2372.patch
          83 kB
          Uwe Schindler
        4. LUCENE-2372_contrib.patch
          64 kB
          Robert Muir
        5. LUCENE-2372_contrib.patch
          133 kB
          Robert Muir
        6. LUCENE-2372_contrib.patch
          222 kB
          Robert Muir
        7. LUCENE-2372_contrib.patch
          246 kB
          Robert Muir
        8. LUCENE-2372_contrib_solr.patch
          274 kB
          Robert Muir
        9. ASF.LICENSE.NOT.GRANTED--LUCENE-2372.patch
          88 kB
          Uwe Schindler
        10. ASF.LICENSE.NOT.GRANTED--LUCENE-2372.patch
          87 kB
          Uwe Schindler

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: