Returns the highlight field to use as backup or default


(PECL solr >= 0.9.2)

SolrQuery::getHighlightAlternateFieldReturns the highlight field to use as backup or default

Описание

public string SolrQuery::getHighlightAlternateField ([ string $field_override ] )

Returns the highlight field to use as backup or default. It accepts an optional override.

Список параметров

field_override

The name of the field

Возвращаемые значения

Returns a string on success and NULL if not set.