SolrInputDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldCountReturns the number of fields in the document

說明

public SolrInputDocument::getFieldCount(): int|false

Returns the number of fields in the document.

參數

此函數沒有參數。

返回值

Returns an integer on success 或者在失敗時返回 false.