SolrQuery
PHP Manual

SolrQuery::getHighlightMaxAlternateFieldLength

(PECL solr >= 0.9.2)

SolrQuery::getHighlightMaxAlternateFieldLengthReturns the maximum number of characters of the field to return

Descrierea

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

Returns the maximum number of characters of the field to return

Parametri

field_override

The name of the field

Valorile întoarse

Returns an integer on success and NULL if not set.


SolrQuery
PHP Manual