php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::getHighlightRegexSlop

SolrQuery::getHighlightRegexSlop

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Returns the deviation factor from the ideal fragment size

Description

SolrQuery::getHighlightRegexSlop(): float

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

Parameters Parameters

Return Values

Returns a float on success and null if not set.

Source: reference/solr/solrquery/gethighlightregexslop.xml · from the official PHP manual (php/doc-en)