array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'solrdocument.clear.php', 1 => 'SolrDocument::clear', 2 => 'Drops all the fields in the document', ), 'up' => array ( 0 => 'class.solrdocument.php', 1 => 'SolrDocument', ), 'prev' => array ( 0 => 'solrdocument.addfield.php', 1 => 'SolrDocument::addField', ), 'next' => array ( 0 => 'solrdocument.clone.php', 1 => 'SolrDocument::__clone', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrdocument/clear.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(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.
Questa funzione non contiene parametri.