The same as with other formats. You give it strings to drop in before and after the highlighted text.
On Fri, Sep 17, 2010 at 9:48 AM, Dennis Gearon <gear...@sbcglobal.net> wrote: > How does highlighting work with JSON output? > > Dennis Gearon > > Signature Warning > ---------------- > EARTH has a Right To Life, > otherwise we all die. > > Read 'Hot, Flat, and Crowded' > Laugh at http://www.yert.com/film.php > > > --- On Fri, 9/17/10, Ahson Iqbal <mianah...@yahoo.com> wrote: > >> From: Ahson Iqbal <mianah...@yahoo.com> >> Subject: Solr Highlighting Issue >> To: solr-user@lucene.apache.org >> Date: Friday, September 17, 2010, 12:36 AM >> Hi All >> >> I have an issue in highlighting that if i query solr on >> more than one fields >> like "+Contents:risk +Form:1" and even i specify the >> highlighting field is >> "Contents" it still highlights risk as well as 1, because >> it is specified in the >> query.. now if i split the query as "+Contents:risk" is >> given as main query and >> "+Form:1" as filter query and specify "Contents" as >> highlighting field, it works >> fine, can any body tell me the reason. >> >> >> Regards >> Ahsan >> >> >> >> > -- Lance Norskog goks...@gmail.com