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

Unified highlighter does not highlight wildcard phrases correctly when ComplexPhraseQueryParser is used

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.4
    • 8.2
    • modules/highlighter
    • None
    • New

    Description

      Given the text:
      "Kontraktsproget vil være dansk og arbejdssproget kan være dansk, svensk, norsk og engelsk"
      and the query:
      {!complexphrase df=content_da}("sve* no*")
      the unified highlighter (hl.method=unified) does not return any highlights.

      For reference, the original highlighter returns a snippet with the expected highlights:
      Kontraktsproget vil være dansk og arbejdssproget kan være dansk, <em>svensk</em>, <em>norsk</em> og

      Is this expected behaviour with the unified highlighter?

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              bjarkebm2 Bjarke Mortensen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: