[ 
https://issues.apache.org/jira/browse/SOLR-5858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939012#comment-13939012
 ] 

ASF subversion and git services commented on SOLR-5858:
-------------------------------------------------------

Commit 1578800 from [~romseygeek] in branch 'dev/trunk'
[ https://svn.apache.org/r1578800 ]

SOLR-5858, SOLR-4812: Allow queryparser to be defined for highlight query, and 
edismax and dismax to be used for this purpose

> Specify highlight query parameter outside of localparams
> --------------------------------------------------------
>
>                 Key: SOLR-5858
>                 URL: https://issues.apache.org/jira/browse/SOLR-5858
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.7, 5.0
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: 4.8
>
>         Attachments: SOLR-5858.patch, SOLR-5858.patch
>
>
> A separate highlight query provided by the hl.q parameter will always use the 
> lucene query parser unless a separate parser is explicitly provided as a 
> localparam.  This is mildly annoying if you're using a hand-rolled query 
> parser.  This patch adds a new hl.qparser parameter that allows you to 
> specify a query parser outside of localparams, and will fall back to using 
> the overall query defType if hl.qparser is not passed.
> Patch also fixes a bug in edismax and dismax query parsers whereby they 
> couldn't be used for highlight queries because they weren't properly set up 
> until parse() is called, and HighlightComponent doesn't do that.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to