return the highlightquery (hl.q)

# SolrQuery::getHighlightQuery

(PECL solr >= 2.7.0)

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

### Description

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.

### Parameters

This function has no parameters.

### Return Values

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

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