Php/docs/solrquery.gethighlightregexslop

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::getHighlightRegexSlop

(PECL solr >= 0.9.2)

SolrQuery::getHighlightRegexSlopReturns the deviation factor from the ideal fragment size


说明

public SolrQuery::getHighlightRegexSlop ( ) : float

Returns the factor by which the regex fragmenter can deviate from the ideal fragment size to accomodate the regular expression


参数

此函数没有参数。


返回值

Returns a double on success and null if not set.