SolrDocument::__unset
(PECL solr >= 0.9.2)
SolrDocument::__unset — Removes a field from the document
Beschreibung
public bool SolrDocument::__unset
( string
$fieldName
)Removes a field from the document when the field is access as an object property.
Parameter-Liste
-
fieldName -
The name of the field.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.