You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/08/27 20:44:00 UTC

[jira] [Commented] (SOLR-11801) support customisation of the "highlighting" query response element

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

David Smiley commented on SOLR-11801:
-------------------------------------

It appears this test is a bit flakey, and Erick is about to badapple it.  I went to the fucit build failure report and saw the failures for this test.  I'll attach some console exports of just the output for this failing test.  It's not clear to me what's wrong.  The seeds don't reproduce, so there's some timing issue.

> support customisation of the "highlighting" query response element
> ------------------------------------------------------------------
>
>                 Key: SOLR-11801
>                 URL: https://issues.apache.org/jira/browse/SOLR-11801
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>             Fix For: 7.3, master (8.0)
>
>         Attachments: 17766 jenkins.log, 2618 jenkins.log, SOLR-11801.patch, SOLR-11801.patch, SOLR-11801.patch, SOLR-11801.patch
>
>
> The objective and use case behind the proposed changes is to be able to receive not the out-of-the-box highlighting map
> {code}
> {
>   ...
>   "highlighting" : {
>     "MA147LL/A" : {
>       "manu" : [
>         "<em>Apple</em> Computer Inc."
>       ]
>     }
>   }
> }
> {code}
> as illustrated in https://lucene.apache.org/solr/guide/7_2/highlighting.html#highlighting-in-the-query-response but to be able to alternatively name and customise the highlighting element of the query response to (for example) be like this
> {code}
> {
>   ...
>   "custom_highlighting" : [
>     {
>       "id" : "MA147LL/A",
>       "snippets" : {
>         "manu" : [
>           "<em>Apple</em> Computer Inc."
>         ]
>       }
>     }
>   ]
> }
> {code}
> where the highlighting element itself is a list and where the keys of each list element are 'knowable' in advance i.e. they are not 'unknowable' document ids.



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

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