Returns the number of child documents

# SolrInputDocument::getChildDocumentsCount

(PECL solr >= 2.3.0)

SolrInputDocument::getChildDocumentsCount — Returns the number of child documents

### Description

public function SolrInputDocument::getChildDocumentsCount(): int

Returns the number of child documents

### Parameters

This function has no parameters.

### Return Values

### See Also

- 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