public function SearchApiSolrDocument::setNestedDocuments in Search API Solr 7
Sets an array of nested documents.
Populate nested documents for use with block join queries. Note that this will lead to errors when used with Solr versions older than 4.5.
Parameters
SearchApiSolrDocument[] $nested_documents: An array of SearchApiSolrDocument objects.
File
- includes/
document.inc, line 356
Class
- SearchApiSolrDocument
- Holds Key / Value pairs that represent a Solr Document along with any associated boost values. Field values can be accessed by direct dereferencing such as:
Code
public function setNestedDocuments(array $nested_documents) {
$this->nestedObjects = $nested_documents;
}