Returns the number of child documents

# SolrDocument::getChildDocumentsCount

(PECL solr >= 2.3.0)

SolrDocument::getChildDocumentsCount — Returns the number of child documents

### 说明

public function SolrDocument::getChildDocumentsCount(): int

Returns the number of child documents

### 参数

此函数没有参数。

### 返回值

### 参见

- SolrDocument::hasChildDocuments() - Checks whether the document has any child documents
- SolrDocument::getChildDocuments() - Returns an array of child documents (SolrDocument)

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