SolrQuery::setHighlightRegexSlop

(PECL solr >= 0.9.2)

SolrQuery::setHighlightRegexSlopSets the factor by which the regex fragmenter can stray from the ideal fragment size

说明

public SolrQuery::setHighlightRegexSlop ( float $factor ) : SolrQuery

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.

相关文章
php eventhttpconnection sets the ip address from which http connections are madephp eventhttpconnection sets the local port from which connections are madephp mysqlnd ms 函数 sets the quality of service needed from the clusterphp paradox 函数 sets the file where blobs are read fromphp harufont calculate the number of characters which can be included within the specified widthphp imagick sets the size and offset of the imagick objectphp imagickdraw sets the overall canvas sizephp solrquery returns whether or not the collapse contiguous fragments into a single fragmentphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns the deviation factor from the ideal fragment sizephp solrquery returns the maximum word length above which words will be ignoredphp solrquery returns the treshold frequency at which words will be ignored which do not occur in at least this many docsphp solrquery returns the frequency below which terms will be ignored in the source documentphp solrquery returns the field from which the terms are retrievedphp solrquery sets the group.offset parameterphp solrquery sets the factor by which the regex fragmenter can stray from the ideal fragment sizephp solrquery sets the text which appears after a highlighted termphp solrquery sets the text which appears before a highlighted termphp solrquery sets the frequency below which terms will be ignored in the source docsphp solrquery sets the name of the field to get the terms from
关注编程学问公众号