= 0.9.2)SolrInputDocument::setFieldBoost — Sets the index-time boost value for a field說明public SolrInputDo">
(PECL solr >= 0.9.2)
SolrInputDocument::setFieldBoost — Sets the index-time boost value for a field
$fieldName
, float $fieldBoostValue
): boolSets the index-time boost value for a field. This replaces the current boost value for this field.
fieldName
The name of the field.
fieldBoostValue
The index time boost value.
成功時返回 true
, 或者在失敗時返回 false
。