SolrDocument::clear
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Drops all the fields in the document
Description
SolrDocument::clear(): bool
Resets the current object. Discards all the fields and resets the document boost to zero.
Parameters Parameters
Return Values
Success