SolrDocument::__set
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Adds another field to the document
Description
SolrDocument::__set(string $fieldName, string $fieldValue): bool
Adds another field to the document. Used to set the fields as new properties.
Parameters
fieldNameName of the field.
fieldValueField value.
Return Values
Success