(PECL solr >= 0.9.2)
SolrQuery::setHighlightFormatter — Specify a formatter for the highlight output
$formatter
, string $field_override
= ?
) : SolrQuerySpecify a formatter for the highlight output.
formatter
Currently the only legal value is "simple"
field_override
The name of the field.
Returns an instance of SolrQuery.