SolrDocument
PHP Manual

SolrDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrDocument::getFieldCountReturns the number of fields in this document

Opis

public int SolrDocument::getFieldCount ( void )

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

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

Returns an integer on success and FALSE on failure.


SolrDocument
PHP Manual