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