Highlighting spans should merge across phrase query
---------------------------------------------------

                 Key: SOLR-575
                 URL: https://issues.apache.org/jira/browse/SOLR-575
             Project: Solr
          Issue Type: Improvement
          Components: highlighter
    Affects Versions: 1.2
            Reporter: Brian Whitman


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)




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to