lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <>
Subject [jira] Created: (SOLR-1926) add hl.q parameter
Date Tue, 25 May 2010 16:14:25 GMT
add hl.q parameter

                 Key: SOLR-1926
             Project: Solr
          Issue Type: Improvement
          Components: highlighter
    Affects Versions: 1.4
            Reporter: Koji Sekiguchi
            Priority: Trivial

If hl.q parameter is set, HighlightComponent uses it rather than q.

Use case:

You search "PC" with highlight and facet capability:


You get a lot of results with snippets (term "PC" highlighted in desc field). Then you click
a link "maker:DELL(50)" to narrow the result:


You'll get narrowed result with term "PC" highlighted snippets. But, sometimes I'd like to
see "DELL" to be highlighted as well, because I clicked "DELL". In this case, hl.q can be


Note that hl.requireFieldMatch should be false (false is default) in this scenario.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message