Lucene - Core
  1. Lucene - Core
  2. LUCENE-4963

Deprecate broken TokenFilter constructors

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

      1. LUCENE-4963.patch
        127 kB
        Adrien Grand

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development