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

Make StopFilter.enablePositionIncrements explicit

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: