Returns the number of child documents

# SolrDocument::getChildDocumentsCount

(PECL solr >= 2.3.0)

SolrDocument::getChildDocumentsCount — Returns the number of child documents

### Description

public SolrDocument::getChildDocumentsCount(): int

Returns the number of child documents

### Parameters

This function has no parameters.

### Return Values

### See Also

- 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