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 2011/11/08 01:47:47 UTC
[Solr Wiki] Update of "HighlightingParameters" by KojiSekiguchi
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=34&rev2=35
Comment:
add hl.q (SOLR-1926)
Set to "`true`" enable highlighted snippets to be generated in the query response. Any blank or missing value, or "`false`" will disable highlighting.
The default value is blank.
+
+ == hl.q ==
+ Set a query request to be highlighted. It overrides q parameter for highlighting. [[SolrQuerySyntax|Solr query syntax]] is acceptable for this parameter. <!> [[Solr3.5]]
== hl.fl ==
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.