lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Smerchek (JIRA)" <>
Subject [jira] [Created] (SOLR-4410) Highlight query parameter (hl.q) does not honor QParser defType parameter
Date Wed, 06 Feb 2013 20:17:14 GMT
Scott Smerchek created SOLR-4410:

             Summary: Highlight query parameter (hl.q) does not honor QParser defType parameter
                 Key: SOLR-4410
             Project: Solr
          Issue Type: Bug
          Components: highlighter
    Affects Versions: 4.1
            Reporter: Scott Smerchek
            Priority: Minor

If one uses a custom QParser for parsing standard queries, that person cannot do the same
with the highlight query parameter using the 'defType' parameter.

The hl.q QParser will always default to the default defType unless the local params syntax
is used to specify a different QParser.

The typical expectation would be that q and hl.q would behave the same.

The following examples should highlight the document in the same way:

This is how you have to do it now:

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:

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

View raw message