SolrInputDocument
PHP Manual

SolrInputDocument::clear

(PECL solr >= 0.9.2)

SolrInputDocument::clearResets the input document.

説明

public bool SolrInputDocument::clear ( void )

Resets the document by dropping all the fields and resets the document boost to zero.

パラメータ

この関数にはパラメータはありません。

返り値

Returns TRUE on success and FALSE on failure.


SolrInputDocument
PHP Manual