David Smiley updated SOLR-575:
    Affects Version/s:     (was: 1.2)
        Fix Version/s:     (was: 6.0)
                           (was: 4.9)

It's "UnifiedHighlighter" but I like your name too :-)

The issue here is valid -- AFAIK no highlighter works as the o.p. wants it to.  
I can imagine how the UH could be modified to work this way... -- by having 
PhraseHelper produce one PostingsEnum per SpanQuery (what a phrase is converted 
into) instead of wrapping/filtering PE's given to it.  Then, instead of 
producing one position per underlying-term, it could produce one virtual 
position of the span.  This would only be applicable to phrase queries without 
slop; not other position sensitive queries or span queries generally.  It might 
improve passage relevance too.

> 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
>            Reporter: Brian Whitman
>            Priority: Minor
> 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 was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to