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

Highlighter has problems when you use StandardAnalyzer with LUCENE_29 or simplier StopFilter with stopWordsPosIncr mode switched on

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9, 3.0
    • 2.9.1, 3.0
    • None
    • None
    • New, Patch Available

    Description

      This is a followup on LUCENE-1987:

      If you set in HighligterTest the constant static final Version TEST_VERSION = Version.LUCENE_24 to LUCENE_29 or LUCENE_CURRENT, the test testSimpleQueryScorerPhraseHighlighting fails. Please note, that currently (before LUCENE-2002 is fixed), you must also set the QueryParser to respect posIncr.

      Attachments

        1. LUCENE-2003.patch
          5 kB
          Mark Miller
        2. LUCENE-2003.patch
          4 kB
          Mark Miller

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: