在线文档教程
PHP
Solr

SolrDocument::getChildDocumentsCount

SolrDocument::getChildDocumentsCount

(PECL solr >= 2.3.0)

SolrDocument::getChildDocumentsCount — Returns the number of child documents

Description

public integer SolrDocument::getChildDocumentsCount ( void )

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)

← SolrDocument::getChildDocuments

SolrDocument::getField →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrdocument.getchilddocumentscount.php