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.