SolrInputDocument::getBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getBoostRetrieves the current boost value for the document

說明

public SolrInputDocument::getBoost(): float

Retrieves the current boost value for the document.

參數

此函數沒有參數。

返回值

Returns the boost value on success and false on failure.