# SolrQuery::getHighlightFields

(PECL solr >= 0.9.2)

SolrQuery::getHighlightFields — Returns all the fields that Solr should generate highlighted snippets for

### 说明

public SolrQuery::getHighlightFields(): array

Returns all the fields that Solr should generate highlighted snippets for

### 参数

此函数没有参数。

### 返回值

Returns an array on success and `null` if not set.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open