SolrDocument::clear
(PECL solr >= 0.9.2)
SolrDocument::clear — Drops all the fields in the document
説明
public SolrDocument::clear ( ) : bool
Resets the current object. Discards all the fields and resets the document boost to zero.
パラメータ
この関数にはパラメータはありません。
返り値
成功した場合に true
を、失敗した場合に false
を返します。