Lucene - Core
  1. Lucene - Core
  2. LUCENE-1660

Make StopFilter.enablePositionIncrements explicit

    Details

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

      1. LUCENE-1660.patch
        26 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Attached patch. I plan to commit in a day or two.

        Show
        Michael McCandless added a comment - Attached patch. I plan to commit in a day or two.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development