Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


(PECL solr >= 0.9.2)

SolrQuery::getHighlightReturns the state of the hl parameter


public bool SolrQuery::getHighlight ( void )

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


This function has no parameters.

Return Values

Returns a boolean on success and NULL if not set.

PHP Manual