SolrInputDocument
PHP Manual

SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoostRetrieves the boost value for a particular field

Descrizione

public float SolrInputDocument::getFieldBoost ( string $fieldName )

Retrieves the boost value for a particular field.

Elenco dei parametri

fieldName

The name of the field.

Valori restituiti

Returns the boost value for the field or FALSE if there was an error.


SolrInputDocument
PHP Manual