array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'solrquery.sethighlightregexslop.php', 1 => 'SolrQuery::setHighlightRegexSlop', 2 => 'Sets the factor by which the regex fragmenter can stray from the ideal fragment size', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.sethighlightregexpattern.php', 1 => 'SolrQuery::setHighlightRegexPattern', ), 'next' => array ( 0 => 'solrquery.sethighlightrequirefieldmatch.php', 1 => 'SolrQuery::setHighlightRequireFieldMatch', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/sethighlightregexslop.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::setHighlightRegexSlop

(PECL solr >= 0.9.2)

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

Beschreibung

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

Parameter-Liste

factor

The factor by which the regex fragmenter can stray from the ideal fragment size

Rückgabewerte

Returns the current SolrQuery object, if the return value is used.