SolrDocument::__unset
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Removes a field from the document
Description
SolrDocument::__unset(string $fieldName): bool
Removes a field from the document when the field is access as an object property.
Parameters
fieldNameThe name of the field.
Return Values
Success