SolrQuery::getHighlightFragsize
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Returns the number of characters of fragments to consider for highlighting
Description
SolrQuery::getHighlightFragsize([string $field_override]): int
Returns the number of characters of fragments to consider for highlighting. Zero implies no fragmenting. The entire field should be used.
Parameters
field_overrideThe name of the field
Return Values
Returns an integer on success or null if not set.