SolrDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrDocument::getFieldCountReturns the number of fields in this document

Descrição

public SolrDocument::getFieldCount ( void ) : int

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

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Returns an integer on success and FALSE on failure.