(PECL solr >= 0.9.2)
SolrDocument::clear — Drops all the fields in the document
Resets the current object. Discards all the fields and resets the document boost to zero.
此函數沒(méi)有參數。
成功時(shí)返回 true, 或者在失敗時(shí)返回 false。
true
false