Hi Koji thank you very much it really works
________________________________ From: Koji Sekiguchi <k...@r.email.ne.jp> To: solr-user@lucene.apache.org Sent: Fri, September 17, 2010 7:11:31 PM Subject: Re: Solr Highlighting Issue (10/09/17 16:36), Ahson Iqbal wrote: > 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 > Hi Ahsan, Use hl.requireFieldMatch=true http://wiki.apache.org/solr/HighlightingParameters#hl.requireFieldMatch Koji -- http://www.rondhuit.com/en/