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
fieldName
The name of the field
fieldValue
The value of the field.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
