SolrDocument
PHP Manual

SolrDocument::clear

(PECL solr >= 0.9.2)

SolrDocument::clearDrops 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 TRUE on success and FALSE on failure.


SolrDocument
PHP Manual