Php/docs/solrinputdocument.getchilddocumentscount
来自菜鸟教程
SolrInputDocument::getChildDocumentsCount
(PECL solr >= 2.3.0)
SolrInputDocument::getChildDocumentsCount — Returns the number of child documents
说明
public SolrInputDocument::getChildDocumentsCount ( ) : int
Returns the number of child documents
参数
此函数没有参数。
返回值
参见
- 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)