Returns the number of child documents

# SolrInputDocument::getChildDocumentsCount

(PECL solr >= 2.3.0)

SolrInputDocument::getChildDocumentsCount — Returns the number of child documents

### 说明

public function SolrInputDocument::getChildDocumentsCount(): int

Returns the number of child documents

### 参数

此函数没有参数。

### 返回值

### 参见

- SolrInputDocument::addChildDocument() - Adds a child document for block indexing
- SolrInputDocument::addChildDocuments() - Adds an array of child documents
- SolrInputDocument::hasChildDocuments() - Returns true if the document has any child documents
- SolrInputDocument::getChildDocuments() - Returns an array of child documents (SolrInputDocument)

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