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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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