SolrDocument::hasChildDocuments
(PECL solr >= 2.3.0)
SolrDocument::hasChildDocuments — Checks whether the document has any child documents
说明
public SolrDocument::hasChildDocuments(): bool
Checks whether the document has any child documents
参数
此函数没有参数。
返回值
参见
- SolrDocument::getChildDocuments() - Returns an array of child documents (SolrDocument)
- SolrDocument::getChildDocumentsCount() - Returns the number of child documents
add a note
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/solrdocument.haschilddocuments.php