SolrQuery::setHighlightFormatter
(PECL solr >= 0.9.2)
SolrQuery::setHighlightFormatter — Specify a formatter for the highlight output
Description
public function SolrQuery::setHighlightFormatter(string
$formatter, string $field_override = ?): SolrQuerySpecify a formatter for the highlight output.
Parameters
formatter
Currently the only legal value is "simple"
field_override
The name of the field.
Return Values
Returns an instance of SolrQuery.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
