Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-575

Highlighting spans should merge across phrase query

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • highlighter
    • None

    Description

      Somewhat related to but separate from SOLR-553,

      It would be nice if the highlighter component "joined" the formatter tags across an entire PhraseQuery.

      e.g.

      Lights (Live) : <span>I</span> <span>Love</span> <span>You</span> But <span>I've</span> <span>Chosen</span> <span>Darkness</span> :

      should really be

      Lights (Live) : <span>I Love You But I've Chosen Darkness</span> :

      assuming the query that generated these fragments was "I Love You But I've Chosen Darkness"

      I assume there's issues with stopwords (the But in the name was not formatted)

      Attachments

        Activity

          People

            Unassigned Unassigned
            bwhitman Brian Whitman
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: