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

Make StopFilter.enablePositionIncrements explicit

    Details

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

      Description

      I think the default for this should be true, ie, do not lose
      information when filtering (preserve the positions of the original
      tokens).

      But, we can't change this without breaking back-compat.

      So, as workaround, we should make the parameter explicit so one must
      decide up front.

        Attachments

        1. LUCENE-1660.patch
          26 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: