Doug Turnbull created SOLR-5256:
-----------------------------------

             Summary: Send multiple queries through highlighter
                 Key: SOLR-5256
                 URL: https://issues.apache.org/jira/browse/SOLR-5256
             Project: Solr
          Issue Type: New Feature
          Components: highlighter
    Affects Versions: 4.4
            Reporter: Doug Turnbull
         Attachments: Solr-5256.patch

There's been several times when I wish I could specify multiple queries through 
the highlighter. For example, a search over books may have an option to filter 
my author. If I wanted to highlight both the primary search terms and the 
author match I'd have to construct an hl.q that created the desire highlight 
query.

This is complicated by the fact that q might be dismax/edismax while the fq is 
likely going to be a lucene query. It might be rather complex to construct a 
single query that reflects the combination of dismax over many fields plus a 
specific lucene query.

What I would prefer to do is be able to specify additional queries (hl.addlq) 
to the highlighter. The highlighter then highlights the results of those 
queries as well. 

(Unfortunately, while this is useful, its limited somewhat by this bug:
https://issues.apache.org/jira/browse/SOLR-4812#comment-13772151)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to