SolrDocument::clear

(PECL solr >= 0.9.2)

SolrDocument::clearDrops all the fields in the document

説明

publicSolrDocument::clear(): bool

Resets the current object. Discards all the fields and resets the document boost to zero.

パラメータ

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

戻り値

成功した場合に true を、失敗した場合に false を返します。

To Top