php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::getHighlight

SolrQuery::getHighlight

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Returns the state of the hl parameter

Description

SolrQuery::getHighlight(): bool

Returns a boolean indicating whether to enable highlighted snippets to be generated in the query response.

Parameters Parameters

Return Values

Returns a boolean on success and null if not set.

Source: reference/solr/solrquery/gethighlight.xml · from the official PHP manual (php/doc-en)