SolrDocument::addField
(PECL solr >= 0.9.2)
SolrDocument::addField — Adds a field to the document
Description
This method adds a field to the SolrDocument instance.
Parameters
fieldNameThe name of the field
fieldValueThe value of the field.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open