SolrDocument::clear
(PECL solr >= 0.9.2)
SolrDocument::clear — Drops all the fields in the document
Beschreibung
public bool SolrDocument::clear
( void
)
Resets the current object. Discards all the fields and resets the document boost to zero.
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.