Hi,

I'm using solr 4.3.0 & following is the response against hit highlighting
request:

Request: http://localhost:8080/solr/collection2/select?q=content:ps4&hl=true

Response:

<doc>
 <arr name="content"><str>This post is regarding ps4 accuracy and qulaity
which is smooth and factastic</str></arr>
</doc>
<lst name="highlighting">
<lst name="1">
 <arr name="content"><str>This post is regarding <b>ps4</b> accuracy and
qulaity which is smooth and factastic</str></arr>
</lst>

I wanted result like this:

<doc>
 <arr name="content"><str>This post is regarding <b>ps4</b> accuracy and
qulaity which is smooth and factastic</str></arr>
</doc>
<lst name="highlighting">
<lst name="1">
 <arr name="content"><str>This post is regarding <b>ps4</b> accuracy and
qulaity which is smooth and factastic</str></arr>
</lst>

Thanks in advance!

Regards,
Jamshaid

Reply via email to