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

Matt Pearce commented on SOLR-7515:
-----------------------------------

I've attached a patch which I believe fixes this, working around some Angular 
quirks by using a string version of "true" rather than the boolean equivalent.

> Some highlight checkboxes are broken
> ------------------------------------
>
>                 Key: SOLR-7515
>                 URL: https://issues.apache.org/jira/browse/SOLR-7515
>             Project: Solr
>          Issue Type: Bug
>          Components: Admin UI
>            Reporter: Matt Hilt
>            Priority: Minor
>         Attachments: SOLR-7515.patch
>
>
> In the query UI, when configuring a highlight enabled search, there are three 
> checkboxes for additional highlight parameters. When they are checked, they 
> add the appropriate parameters to the query, e.g.
> hl.usePhraseHighligher=true
> However, usePhraseHighligher and highlightMultiTerm are true by default 
> (according to the 5.1 docs). So these checkboxes really don't do anything, 
> and there is no way to turn off these parameters from the GUI.
> The solution is to make the parameters always part of the query (when 
> highlighting is on), and just toggle the true/false value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to