diff --git a/solr/solr-ref-guide/src/highlighting.adoc b/solr/solr-ref-guide/src/highlighting.adoc index b6c9bf225cd..1990c6cb8cc 100644 --- a/solr/solr-ref-guide/src/highlighting.adoc +++ b/solr/solr-ref-guide/src/highlighting.adoc @@ -42,7 +42,7 @@ When using `*`, consider adding `hl.requireFieldMatch=true`. + Note that the field(s) listed here ought to have compatible text-analysis (defined in the schema) with field(s) referenced in the query to be highlighted. It may be necessary to modify `hl.q` and `hl.qparser` and/or modify the text analysis. -The following example uses the <> syntax and <> to highlight fields in `hl.fl`: +The following example uses the <> syntax and <> to highlight fields in `hl.fl`: `&hl.fl=field1 field2&hl.q={!edismax qf=$hl.fl v=$q}&hl.qparser=lucene&hl.requireFieldMatch=true` (along with other applicable parameters, of course). + The default is the value of the `df` parameter which in turn has no default.