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

[PATCH] Add position increment back into StopFilter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.4
    • None
    • modules/analysis
    • None
    • Operating System: other
      Platform: All

    • 35388

    Description

      Currently, if you index a document that contains "climate of change", then a
      phrase query of "climate change" will return that document because StopFilter
      does not increment a token's position when skipping stopwords. A patch was
      initially applied to StopFilter in Nov of 2003 but then reverted in Dec of 2003
      due to conflicts. PhraseQuery has since been modified and extend and the patch
      can be re-applied.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbarry@cos.com Mike Barry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: