SolrInputDocument
在线手册:中文 英文
PHP手册

SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoostRetrieves the boost value for a particular field

说明

public float SolrInputDocument::getFieldBoost ( string $fieldName )

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.


SolrInputDocument
在线手册:中文 英文
PHP手册