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

Add backcompat for TokenFilters with posInc=false before 4.4

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      In Lucene 4.4, a number of token filters supporting the enablePositionIncrements=false setting were changed to default to true. However, with Lucene 5.0, the setting was removed altogether. We should have backcompat for this setting, as well as work when used with a TokenFilterFactory and match version < 4.4.

        Attachments

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              rjernst Ryan Ernst
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: