PHP - Manual: SolrQuery::getHighlight
2024-11-14
(PECL solr >= 0.9.2)
SolrQuery::getHighlight — Returns the state of the hl parameter
Returns a boolean indicating whether or not to enable highlighted snippets to be generated in the query response.
此函数没有参数。
Returns a boolean on success and null
if not set.
官方地址:https://www.php.net/manual/en/solrquery.gethighlight.php