Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "HighlightingParameters" page has been changed by KojiSekiguchi. http://wiki.apache.org/solr/HighlightingParameters?action=diff&rev1=26&rev2=27 -------------------------------------------------- The default value is "`gap`" == hl.fragListBuilder == - Specify the name of SolrFragListBuilder. <!> [[Solr1.5]] This parameter makes sense for FastVectorHighlighter only. + Specify the name of SolrFragListBuilder. <!> [[Solr3.1]] This parameter makes sense for FastVectorHighlighter only. == hl.fragmentsBuilder == - Specify the name of SolrFragmentsBuilder. <!> [[Solr1.5]] This parameter makes sense for FastVectorHighlighter only. + Specify the name of SolrFragmentsBuilder. <!> [[Solr3.1]] This parameter makes sense for FastVectorHighlighter only. + + SolrFragmentsBuilder respects hl.tag.pre/post parameters: + + {{{ + <!-- multi-colored tag FragmentsBuilder --> + <fragmentsBuilder name="colored" class="org.apache.solr.highlight.ScoreOrderFragmentsBuilder"> + <lst name="defaults"> + <str name="hl.tag.pre"><![CDATA[ + <b style="background:yellow">,<b style="background:lawgreen">, + <b style="background:aquamarine">,<b style="background:magenta">, + <b style="background:palegreen">,<b style="background:coral">, + <b style="background:wheat">,<b style="background:khaki">, + <b style="background:lime">,<b style="background:deepskyblue">]]></str> + <str name="hl.tag.post"><![CDATA[</b>]]></str> + </lst> + </fragmentsBuilder> + }}} == hl.useFastVectorHighlighter == Use FastVectorHighlighter. FastVectorHighlighter requires the field is termVectors=on, termPositions=on and termOffsets=on. This parameter accepts per-field overrides. <!> [[Solr1.5]]