# SolrQuery::getHighlightQuery

(PECL solr >= 2.7.0)

SolrQuery::getHighlightQuery — return the highlightquery (hl.q)

### Beschreibung

public SolrQuery::getHighlightQuery(): string

Returns previously set highlight query. This parameter allows you to highlight different terms or fields than those being used to retrieve documents.

### Parameter-Liste

Diese Funktion besitzt keine Parameter.

### Rückgabewerte

Returns the current SolrHighlightQuery string, or null if not set.

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