Hi Solr-Users,

Is there any way of merging Result section with the snippet generated using the highlight option. So what I am essentially asking is the following.

If I query Solr with highlight set to true it returns me back an result + highlight section. In the following manner,
It will return an
<response>
+<lst name="responseHandler">
<result    name="response" numfound="xx" start="yy">
+<doc>
.....
</result>
<lst name="highlighting">
   <lst name="id_value">
      <arr name="hl.flds" >
         <str>Snippet Text</str>
     </arr>
   </lst>
   ....
  </lst>
</response>

Now my requirement is to get the snippet text and make it part of the result section. Can this be done, I am using DisMaxHandler while querying (if this needs to be taken into consideration).

--Thanks and Regards
Vaijanath

Reply via email to