SolrDocument::getChildDocumentsCount
(PECL solr >= 2.3.0)
SolrDocument::getChildDocumentsCount — Returns the number of child documents
说明
public SolrDocument::getChildDocumentsCount
( void
) : 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)