SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoostRetrieves the boost value for a particular field

Описание

public SolrInputDocument::getFieldBoost ( string $fieldName ) : float

Retrieves the boost value for a particular field.

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

fieldName

The name of the field.

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

Returns the boost value for the field or FALSE if there was an error.