Returns the number of fields in the document

# SolrInputDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldCount — Returns the number of fields in the document

### 说明

public function SolrInputDocument::getFieldCount(): int|false

Returns the number of fields in the document.

### 参数

此函数没有参数。

### 返回值

Returns an integer on success 或者在失败时返回 `false`.

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