PHP 8.4.1 Released!

SolrInputDocument::setFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::setFieldBoostSets the index-time boost value for a field

Descrizione

public SolrInputDocument::setFieldBoost(string $fieldName, float $fieldBoostValue): bool

Sets the index-time boost value for a field. This replaces the current boost value for this field.

Elenco dei parametri

fieldName

The name of the field.

fieldBoostValue

The index time boost value.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top