PHP - Manual: SolrQuery::setHighlightRegexPattern
2025-10-25
(PECL solr >= 0.9.2)
SolrQuery::setHighlightRegexPattern — Specify the regular expression for fragmenting
Specifies the regular expression for fragmenting. This could be used to extract sentences
valueThe regular expression for fragmenting. This could be used to extract sentences
Returns the current SolrQuery object, if the return value is used.
官方地址:https://www.php.net/manual/en/solrquery.sethighlightregexpattern.php