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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4
    • Fix Version/s: 8.2
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      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

              • Assignee:
                dsmiley David Smiley
                Reporter:
                bjarkebm2 Bjarke Mortensen
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: