SolrDocument::__set
(PECL solr >= 0.9.2)
SolrDocument::__set — Adds another field to the document
Description
Adds another field to the document. Used to set the fields as new properties.
Parameters
fieldName
Name of the field.
fieldValue
Field value.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
