SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoostRetrieves the boost value for a particular field

Descrição

publicSolrInputDocument::getFieldBoost(string$fieldName): float

Retrieves the boost value for a particular field.

Parâmetros

fieldName

The name of the field.

Valor Retornado

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

To Top