SolrQuery::setHighlightRegexPattern
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Specify the regular expression for fragmenting
Description
SolrQuery::setHighlightRegexPattern(string $value): SolrQuery
Specifies the regular expression for fragmenting. This could be used to extract sentences
Parameters
valueThe regular expression for fragmenting. This could be used to extract sentences
Return Values
Returns the current SolrQuery object, if the return value is used.