= 0.9.2)SolrInputDocument::getFieldBoost — Retrieves the boost value for a particular field說(shuō)明public SolrIn">

SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoostRetrieves the boost value for a particular field

說(shuō)明

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

Retrieves the boost value for a particular field.

參數(shù)

fieldName

The name of the field.

返回值

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