SolrInputDocument
PHP Manual

SolrInputDocument::setBoost

(PECL solr >= 0.9.2)

SolrInputDocument::setBoostSets the boost value for this document

Description

public bool SolrInputDocument::setBoost ( float $documentBoostValue )

Sets the boost value for this document.

Liste de paramètres

documentBoostValue

The index-time boost value for this document.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.


SolrInputDocument
PHP Manual