SolrInputDocument::hasChildDocuments
(PECL solr >= 2.3.0)
SolrInputDocument::hasChildDocuments — Returns true if the document has any child documents
说明
public SolrInputDocument::hasChildDocuments
( void
) : bool
Checks whether the document has any child documents
参数
此函数没有参数。
返回值
参见
- SolrInputDocument::addChildDocument() - Adds a child document for block indexing
- SolrInputDocument::addChildDocuments() - Adds an array of child documents
- SolrInputDocument::getChildDocuments() - Returns an array of child documents (SolrInputDocument)
- SolrInputDocument::getChildDocumentsCount() - Returns the number of child documents