# SolrDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrDocument::getFieldCount — Returns the number of fields in this document

### Beschreibung

public SolrDocument::getFieldCount(): int

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

### Parameter-Liste

Diese Funktion besitzt keine Parameter.

### Rückgabewerte

Returns an integer on success and `false` on failure.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open