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

Deprecate broken TokenFilter constructors

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: