PHP - Manual: SolrDocument::addField
2025-02-27
(PECL solr >= 0.9.2)
SolrDocument::addField — Adds a field to the document
This method adds a field to the SolrDocument instance.
fieldName
The name of the field
fieldValue
The value of the field.
官方地址:https://www.php.net/manual/en/solrdocument.addfield.php