在线文档教程
PHP
Solr

SolrInputDocument::hasChildDocuments

SolrInputDocument::hasChildDocuments

(PECL solr >= 2.3.0)

SolrInputDocument::hasChildDocuments — Returns true if the document has any child documents

Description

public boolean SolrInputDocument::hasChildDocuments ( void )

Checks whether the document has any child documents

Parameters

This function has no parameters.

Return Values

See Also

  • 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

← SolrInputDocument::getFieldNames

SolrInputDocument::merge →

© 1997–2017 The PHP Documentation Group

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

https://secure.php.net/manual/en/solrinputdocument.haschilddocuments.php