PHP - Manual: SolrInputDocument::setFieldBoost
2025-02-27
(PECL solr >= 0.9.2)
SolrInputDocument::setFieldBoost — Sets the index-time boost value for a field
Sets the index-time boost value for a field. This replaces the current boost value for this field.
fieldName
The name of the field.
fieldBoostValue
The index time boost value.
官方地址:https://www.php.net/manual/en/solrinputdocument.setfieldboost.php