SolrInputDocument::setBoost

(PECL solr >= 0.9.2)

SolrInputDocument::setBoostSets the boost value for this document

Descrição

publicSolrInputDocument::setBoost(float$documentBoostValue): bool

Sets the boost value for this document.

Parâmetros

documentBoostValue

The index-time boost value for this document.

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

To Top