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

SolrInputDocument::setBoost

(PECL solr >= 0.9.2)

SolrInputDocument::setBoostSets the boost value for this document

說明

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

Sets the boost value for this document.

參數(shù)

documentBoostValue

The index-time boost value for this document.

返回值

成功時返回 true, 或者在失敗時返回 false。