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

StopFilter should have option to incr positionIncrement after stop word

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      Patch Available

      Description

      I've seen this come up on the mailing list a few times in the last month, so i'm filing a known bug/improvement arround it...

      StopFilter should have an option that if set, records how many stop words are "skipped" in a row, and then sets that value as the positionIncrement on the "next" token that StopFilter does return.

        Attachments

        1. lucene-1095-pos-incr.patch
          22 kB
          Doron Cohen
        2. lucene-1095-pos-incr.patch
          25 kB
          Doron Cohen
        3. lucene-1095-pos-incr.patch
          23 kB
          Doron Cohen

          Issue Links

            Activity

              People

              • Assignee:
                doronc Doron Cohen
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: