Hi,

I'm currently implementing highlighting on my Solr-5.0.0. When I issue the
following command:
http://localhost:8983/solr/collection1/select?q=conducted
<http://localhost:8983/solr/edmtechnical/select?q=conducted>
&hl=true&hl.fl=Content,Summary&wt=json&indent=true&rows=10,
the highlighting result is listed at the bottom of the output, instead of
together with the rest of the response above. The result is shown below:

  "response":{"numFound":10,"start":0,"docs":[
      {
        "id":"1-1",
        "Summary":"i} Trial conducted",
        "Content":"Completed",
        "_version_":1498407036159787020},


  "highlighting":{
    "1-1":{
      "Summary":["i) Trial <em>conducted</em>"]}


Is there any way to get the highlighted output to be displayed
together with the rest of the response, instead of having it display
separately at the bottom? Which is something like this


  "response":{"numFound":10,"start":0,"docs":[
      {
        "id":"1-1",
        "Summary":"i} Trial <em>conducted</em>",
        "Content":"Completed",
        "_version_":1498407036159787020},


Regards,
Edwin

Reply via email to