Php/docs/solrdocument.clear

提供:Dev Guides
< Php
移動先:案内検索

SolrDocument::clear

(PECL solr >= 0.9.2)

SolrDocument::clearDrops 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 を返します。