PHP
Solr

SolrQuery::getHighlightRegexSlop

SolrQuery::getHighlightRegexSlop

(PECL solr >= 0.9.2)

SolrQuery::getHighlightRegexSlop — Returns the deviation factor from the ideal fragment size

Description

public float SolrQuery::getHighlightRegexSlop ( void )

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

Parameters

This function has no parameters.

Return Values

Returns a double on success and NULL if not set.

← SolrQuery::getHighlightRegexPattern

SolrQuery::getHighlightRequireFieldMatch →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrquery.gethighlightregexslop.php