update : 2015.11.03
php.shukuma.com

검색:
 
 
Returns the number of characters of fragments to consider for highlighting

SolrQuery::getHighlightFragsize

(PECL solr >= 0.9.2)

SolrQuery::getHighlightFragsizeReturns the number of characters of fragments to consider for highlighting

설명

public int SolrQuery::getHighlightFragsize ([ string $field_override ] )

Returns the number of characters of fragments to consider for highlighting. Zero implies no fragmenting. The entire field should be used.

인수

field_override

The name of the field

반환값

Returns an integer on success or NULL if not set.