PHP - Manual: SolrQuery::getHighlightSnippets
2024-11-14
(PECL solr >= 0.9.2)
SolrQuery::getHighlightSnippets — Returns the maximum number of highlighted snippets to generate per field
$field_override
= ?): intReturns the maximum number of highlighted snippets to generate per field. Accepts an optional field override
field_override
The name of the field
Returns an integer on success and null
if not set.
官方地址:https://www.php.net/manual/en/solrquery.gethighlightsnippets.php