php / 8.1.5 / solrinputdocument.getfieldboost.html /

SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoostRetrieves the boost value for a particular field

Description

public SolrInputDocument::getFieldBoost(string $fieldName): float

Retrieves the boost value for a particular field.

Parameters

fieldName

The name of the field.

Return Values

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

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrinputdocument.getfieldboost.php