©
本文檔使用 php中文網手册 發布
(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.