PHP - Manual: SolrQuery::setHighlightRegexSlop
2024-11-14
(PECL solr >= 0.9.2)
SolrQuery::setHighlightRegexSlop — Sets the factor by which the regex fragmenter can stray from the ideal fragment size
The factor by which the regex fragmenter can stray from the ideal fragment size ( specfied by SolrQuery::setHighlightFragsize )to accommodate the regular expression
factor
The factor by which the regex fragmenter can stray from the ideal fragment size
Returns the current SolrQuery object, if the return value is used.
官方地址:https://www.php.net/manual/en/solrquery.sethighlightregexslop.php