(PECL solr >= 0.9.2)
SolrDocument::addField — Adds a field to the document
$fieldName
, string $fieldValue
) : boolThis method adds a field to the SolrDocument instance.
fieldName
The name of the field
fieldValue
The value of the field.
锟缴癸拷时锟斤拷锟斤拷 TRUE
锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷