protected function collectIndexInspectorInfo()
    {
        $solrCoreConnections = $this->solrConnectionManager->getConnectionsBySite($this->selectedSite);
        $documentsByCoreAndType = [];
        foreach ($solrCoreConnections as $languageId => $solrCoreConnection) {
            $coreAdmin = $solrCoreConnection->getAdminService();
            $documents = $this->apacheSolrDocumentRepository->findByPageIdAndByLanguageId($this->requestedPageUID, $languageId);

            $documentsByType = [];
            foreach ($documents as $document) {
                $documentsByType[$document['type']][] = $document;
            }

            $documentsByCoreAndType[$languageId]['core'] = $coreAdmin;
            $documentsByCoreAndType[$languageId]['documents'] = $documentsByType;
        }

        $this->view->assignMultiple([
            'pageId' => $this->requestedPageUID,
            'indexInspectorDocumentsByLanguageAndType' => $documentsByCoreAndType
        ]);
    }
protected function collectIndexInspectorInfo()
    {
        $solrCoreConnections = $this->solrConnectionManager->getConnectionsBySite($this->selectedSite);
        $documentsByCoreAndType = [];
        foreach ($solrCoreConnections as $languageId => $solrCoreConnection) {
            $coreAdmin = $solrCoreConnection->getAdminService();
            $documents = $this->apacheSolrDocumentRepository->findByPageIdAndByLanguageId($this->requestedPageUID, $languageId);

            $documentsByType = [];
            foreach ($documents as $document) {
                $documentsByType[$document['type']][] = $document;
            }

            $documentsByCoreAndType[$languageId]['core'] = $coreAdmin;
            $documentsByCoreAndType[$languageId]['documents'] = $documentsByType;
        }

        $this->view->assignMultiple([
            'pageId' => $this->requestedPageUID,
            'indexInspectorDocumentsByLanguageAndType' => $documentsByCoreAndType
        ]);
    }
protected function collectIndexInspectorInfo ( ) { $ solrCoreConnections = $ this -> solrConnectionManager -> getConnectionsBySite ( $ this -> selectedSite ) ; $ documentsByCoreAndType = [ ] ; foreach ( $ solrCoreConnections as $ languageId => $ solrCoreConnection ) { $ coreAdmin = $ solrCoreConnection -> getAdminService ( ) ; $ documents = $ this -> apacheSolrDocumentRepository -> findByPageIdAndByLanguageId ( $ this -> requestedPageUID , $ languageId ) ; $ documentsByType = [ ] ; foreach ( $ documents as $ document ) { $ documentsByType [ $ document [ 'type' ] ] [ ] = $ document ; } $ documentsByCoreAndType [ $ languageId ] [ 'core' ] = $ coreAdmin ; $ documentsByCoreAndType [ $ languageId ] [ 'documents' ] = $ documentsByType ; } $ this -> view -> assignMultiple ( [ 'pageId' => $ this -> requestedPageUID , 'indexInspectorDocumentsByLanguageAndType' => $ documentsByCoreAndType ] ) ; }
Retrieves the information for the index inspector.

@return void
Retrieves the information for the index inspector .