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

Deprecate broken TokenFilter constructors

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.4
    • None
    • None
    • New

    Description

      We have some TokenFilters which are only broken with specific options. This includes:

      • TrimFilter when updateOffsets=true
      • StopFilter, JapanesePartOfSpeechStopFilter, KeepWordFilter, LengthFilter, TypeTokenFilter when enablePositionIncrements=false

      I think we should deprecate these behaviors in 4.4 and remove them in trunk.

      Attachments

        1. LUCENE-4963.patch
          127 kB
          Adrien Grand

        Issue Links

          Activity

            People

              jpountz Adrien Grand
              jpountz Adrien Grand
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: