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 YonikSeeley. The comment on this change is: fix 1.5 references, remove broken link, fix some wikiwords. http://wiki.apache.org/solr/HighlightingParameters?action=diff&rev1=28&rev2=29 -------------------------------------------------- - Solr provides a collection of [[http://lucene.apache.org/solr/api/org/apache/solr/highlight/package-summary.html|highlighting utilities]] which can be reused by various Request Handlers to include "highlighted" matches in field values. The SearchHandler takes advantage of these via the HighlightingComponent which support the following parameters. + Solr provides a collection of [[http://lucene.apache.org/solr/api/org/apache/solr/highlight/package-summary.html|highlighting utilities]] which can be reused by various Request Handlers to include "highlighted" matches in field values. The SearchHandler takes advantage of these via the !HighlightingComponent which support the following parameters. <<Anchor(HowToOverride)>>Some parameters may be overriden on a per-field basis with the following syntax: @@ -8, +8 @@ eg. `f.contents.hl.snippets=2` - [[http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/org/apache/lucene/search/vectorhighlight/package-summary.html|FastVectorHighlighter]] can be used <!> [[Solr1.5]]. Most of Highlighter's parameters make sense for FastVectorHighlighter, however, some of them don't because of difference of architecture. + Since [[Solr3.1]], a termvector-based highlighter called !FastVectorHighlighter can be used. Most of Highlighter's parameters make sense for !FastVectorHighlighter, however, some of them don't because of the difference of architecture. See the {{{hl.useFastVectorHighlighter}}} parameter below. See also http://wiki.apache.org/solr/SolrConfigXml#The_Highlighter_plugin_configuration_section @@ -24, +24 @@ A '*' can be used to match field globs, e.g. 'text_*' or even '*' to highlight on all fields where highlighting is possible. When using '*', consider adding hl.requireFieldMatch=true. - If the specified field is termVectors=on, termPositions=on and termOffsets=on, DefaultSolrHighlighter uses FastVectorHighlighter if the hl.useFastVectorHighlighter parameter set to on. + If the specified field is termVectors=on, termPositions=on and termOffsets=on, !DefaultSolrHighlighter uses !FastVectorHighlighter if the hl.useFastVectorHighlighter parameter set to on. The default value is blank. @@ -104, +104 @@ }}} == hl.useFastVectorHighlighter == - Use FastVectorHighlighter. FastVectorHighlighter requires the field is termVectors=on, termPositions=on and termOffsets=on. This parameter accepts per-field overrides. <!> [[Solr1.5]] + Use FastVectorHighlighter. FastVectorHighlighter requires the field is termVectors=on, termPositions=on and termOffsets=on. This parameter accepts per-field overrides. <!> [[Solr3.1]] The default value is "`false`"