You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/09/14 23:47:06 UTC
[Solr Wiki] Trivial Update of "HighlightingParameters" by Npowell
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by Npowell:
http://wiki.apache.org/solr/HighlightingParameters
The comment on the change is:
Added a link to the snippets option section pointing to the override howto sect.
------------------------------------------------------------------------------
Solr provides a collection of [http://lucene.apache.org/solr/docs/api/org/apache/solr/util/HighlightingUtils.html Highlighting Utilities] which can be reused by various Request Handlers to include "highlighted" matches in field values. Both the StandardRequestHandler and the DisMaxRequestHandler currently use these utilities, and support the following parameters.
- Some parameters may be overriden on a per-field basis with the following syntax:
+ [[Anchor(HowToOverride)]]Some parameters may be overriden on a per-field basis with the following syntax:
`f.<fieldName>.<originalParam>=<value>`
@@ -26, +26 @@
== hl.snippets ==
- The maximum number of highlighted snippets to generate per field. Note: it is possible for any number of snippets from zero to this value to be generated. This parameter accepts per-field overrides.
+ The maximum number of highlighted snippets to generate per field. Note: it is possible for any number of snippets from zero to this value to be generated. This parameter accepts per-field [#HowToOverride overrides].
The default value is "`1`".