(PECL solr >= 0.9.2)
Drops all the fields in the document
public bool SolrDocument::clear ( void )
Resets the current object. Discards all the fields and resets the document boost to zero.
Returns:
Returns TRUE on success or FALSE on failure.
Please login to continue.