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