Try using - <str name="hl.tag.pre"><![CDATA[<b>]]></str> <str name="hl.tag.post"><![CDATA[</b>]]></str>
Regards, Jayendra On Tue, Aug 9, 2011 at 4:46 AM, Massimo Schiavon <mschia...@volunia.com> wrote: > In my Solr (3.3) configuration I specified these two params: > > <str name="hl.simple.pre"><![CDATA[<b>]]></str> > <str name="hl.simple.post"><![CDATA[</b>]]></str> > > when I do a simple search I obtain correctly highlighted results where > matches areenclosed with correct tag. > If I do the same request with hl.useFastVectorHighlighter=true in the http > query string (or specifying the same parameter in the config file) the > metches are enclosed with <em> tag (the default value). > > Anyone has encountered the same issue? >