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

StopFilter should have option to incr positionIncrement after stop word

    XMLWordPrintableJSON

Details

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

              doronc Doron Cohen
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: