(PECL solr >= 0.9.2)
SolrDocument::clear — Drops all the fields in the document
Resets the current object. Discards all the fields and resets the document boost to zero.
Esta função não possui parâmetros.
Retorna true em caso de sucesso ou false em caso de falha.
true
false