©
本文档使用
php.cn手册 发布
(PECL solr >= 0.9.2)
SolrQuery::setHighlightRegexSlop — Sets the factor by which the regex fragmenter can stray from the ideal fragment size
$factor
)The factor by which the regex fragmenter can stray from the ideal fragment size ( specfied by SolrQuery::setHighlightFragsize )to accomodate 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.