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

Deprecate Token class and remove in trunk

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5
    • 4.9, 6.0
    • None
    • New

    Description

      After issues like LUCENE-3843, introducing new attributes, we should remove Token class in trunk, as it leads to code that ignores those new attributes (like PositionLengthAttribute, ScriptAttribute, KeywordAttribute,...). If you want a holder for all Attributes a TokenStream, use TS.cloneAttributes().

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: