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