The results and highlighting section can be correlated using the unique key value. Not sure what benefit you'll get by changing the response format.
On Mon, Sep 29, 2008 at 9:20 AM, Vaijanath N. Rao <[EMAIL PROTECTED]>wrote: > 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 > > -- Regards, Shalin Shekhar Mangar.