protected function getConfiguredSolrConnections()
    {
        $configuredSolrConnections = [];
        // find website roots and languages for this installation
        $rootPages = $this->pagesRepositoryAtExtSolr->findAllRootPages();
        $languages = $this->systemLanguageRepository->findSystemLanguages();

        // find solr configurations and add them as function menu entries
        foreach ($rootPages as $rootPage) {
            foreach ($languages as $languageId) {
                $connection = $this->getConfiguredSolrConnectionByRootPage($rootPage, $languageId);

                if (!empty($connection)) {
                    $configuredSolrConnections[$connection['connectionKey']] = $connection;
                }
            }
        }

        return $configuredSolrConnections;
    }
protected function getConfiguredSolrConnections()
    {
        $configuredSolrConnections = [];
        // find website roots and languages for this installation
        $rootPages = $this->pagesRepositoryAtExtSolr->findAllRootPages();
        $languages = $this->systemLanguageRepository->findSystemLanguages();

        // find solr configurations and add them as function menu entries
        foreach ($rootPages as $rootPage) {
            foreach ($languages as $languageId) {
                $connection = $this->getConfiguredSolrConnectionByRootPage($rootPage, $languageId);

                if (!empty($connection)) {
                    $configuredSolrConnections[$connection['connectionKey']] = $connection;
                }
            }
        }

        return $configuredSolrConnections;
    }
protected function getConfiguredSolrConnections ( ) { $ configuredSolrConnections = [ ] ; // find website roots and languages for this installation $ rootPages = $ this -> pagesRepositoryAtExtSolr -> findAllRootPages ( ) ; $ languages = $ this -> systemLanguageRepository -> findSystemLanguages ( ) ; // find solr configurations and add them as function menu entries foreach ( $ rootPages as $ rootPage ) { foreach ( $ languages as $ languageId ) { $ connection = $ this -> getConfiguredSolrConnectionByRootPage ( $ rootPage , $ languageId ) ; if ( ! empty ( $ connection ) ) { $ configuredSolrConnections [ $ connection [ 'connectionKey' ] ] = $ connection ; } } } return $ configuredSolrConnections ; }
Finds the configured Solr connections. Also respects multi-site
environments.

@return array An array with connections, each connection with keys rootPageTitle, rootPageUid, solrHost, solrPort, solrPath
Finds the configured Solr connections . Also respects multi - site environments .