SolrDocument
PHP Manual

SolrDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrDocument::getFieldCountReturns the number of fields in this document

説明

public int SolrDocument::getFieldCount ( void )

Returns the number of fields in this document. Multi-value fields are only counted once.

パラメータ

この関数にはパラメータはありません。

返り値

Returns an integer on success and FALSE on failure.


SolrDocument
PHP Manual