SolrQuery
PHP 手册

SolrQuery::getHighlightFormatter

(PECL solr >= 0.9.2)

SolrQuery::getHighlightFormatterReturns the formatter for the highlighted output

说明

public string SolrQuery::getHighlightFormatter ([ string $field_override ] )

Returns the formatter for the highlighted output

参数

field_override

The name of the field

返回值

Returns a string on success and NULL if not set.


SolrQuery
PHP 手册