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 2010/07/30 04:07:20 UTC
[Solr Wiki] Update of "HighlightingParameters" by HossMan
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 HossMan.
The comment on this change is: cleaning up DisMaxRequestHandler refs.
http://wiki.apache.org/solr/HighlightingParameters?action=diff&rev1=25&rev2=26
--------------------------------------------------
- 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. Both the StandardRequestHandler and the DisMaxRequestHandler currently use these utilities, and 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:
@@ -18, +18 @@
The default value is blank.
== hl.fl ==
- A comma- or space- delimited list of fields to generate highlighted snippets for. If left blank, the fields highlighted for the StandardRequestHandler are the defaultSearchField (or the `df` param if used) and for the DisMaxRequestHandler the `qf` fields are used.
+ A comma- or space- delimited list of fields to generate highlighted snippets for. If left blank, the fields highlighted for the LuceneQParser are the defaultSearchField (or the `df` param if used) and for the DisMax parser the `qf` fields are used.
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.