lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-11801) support customisation of the "highlighting" query response element
Date Thu, 28 Dec 2017 17:44:00 GMT
Christine Poerschke created SOLR-11801:
------------------------------------------

             Summary: 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


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 customise the highlighting element of the query response to (for example)
be like this
{code}
{
  ...
  "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
(v6.4.14#64029)

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


Mime
View raw message