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.

參數

此函式沒有參數。

回傳值

如果成功則回傳 TRUE,失敗則回傳 FALSE

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top