(PECL solr >= 0.9.2)
SolrQuery::setHighlightRegexPattern — Specify the regular expression for fragmenting
public SolrQuery::setHighlightRegexPattern(string $value): SolrQuery
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.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrquery.sethighlightregexpattern.php