SolrInputDocument::setFieldBoost
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Sets the index-time boost value for a field
Description
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.
Parameters
fieldNameThe name of the field.
fieldBoostValueThe index time boost value.
Return Values
Success