= 0.9.2)SolrInputDocument::setBoost — Sets the boost value for this document說(shuō)明public SolrInputDocument::setBoos">

SolrInputDocument::setBoost

(PECL solr >= 0.9.2)

SolrInputDocument::setBoostSets the boost value for this document

說(shuō)明

public SolrInputDocument::setBoost(float $documentBoostValue): bool

Sets the boost value for this document.

參數(shù)

documentBoostValue

The index-time boost value for this document.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false