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 dateinterval sets up a dateinterval from the relative parts of the stringphp eventhttp sets maximum request body sizephp eventhttp sets maximum http header sizephp eventhttpconnection sets the ip address from which http connections are madephp eventhttpconnection sets the local port from which connections are madephp imagickdraw sets the overall canvas sizephp mongocursor sets whether this query can be done on a secondary deprecated php 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 frequency below which terms will be ignored in the source documentphp solrquery returns the minimum word length below which words will be ignoredphp solrquery returns the field from which the terms are retrievedphp solrquery sets the minimum document frequency used for determining term countphp 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 maximum number of highlighted snippets to generate per fieldphp 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 fromphp swoole mmap map a file into memory and return the stream resource which can be used by php stream operations.
关注编程学问公众号