public function getStatus()
    {
        $reports = [];
        $solrConnections = GeneralUtility::makeInstance(ConnectionManager::class)->getAllConnections();

        foreach ($solrConnections as $solrConnection) {
            $adminService = $solrConnection->getAdminService();
            if ($adminService->ping()) {
                $installationStatus = $this->checkPluginInstallationStatus($adminService);
                $versionStatus = $this->checkPluginVersion($adminService);

                if (!is_null($installationStatus)) {
                    $reports[] = $installationStatus;
                }

                if (!is_null($versionStatus)) {
                    $reports[] = $versionStatus;
                }
            }
        }

        return $reports;
    }
public function getStatus()
    {
        $reports = [];
        $solrConnections = GeneralUtility::makeInstance(ConnectionManager::class)->getAllConnections();

        foreach ($solrConnections as $solrConnection) {
            $adminService = $solrConnection->getAdminService();
            if ($adminService->ping()) {
                $installationStatus = $this->checkPluginInstallationStatus($adminService);
                $versionStatus = $this->checkPluginVersion($adminService);

                if (!is_null($installationStatus)) {
                    $reports[] = $installationStatus;
                }

                if (!is_null($versionStatus)) {
                    $reports[] = $versionStatus;
                }
            }
        }

        return $reports;
    }
public function getStatus ( ) { $ reports = [ ] ; $ solrConnections = GeneralUtility :: makeInstance ( ConnectionManager :: class ) -> getAllConnections ( ) ; foreach ( $ solrConnections as $ solrConnection ) { $ adminService = $ solrConnection -> getAdminService ( ) ; if ( $ adminService -> ping ( ) ) { $ installationStatus = $ this -> checkPluginInstallationStatus ( $ adminService ) ; $ versionStatus = $ this -> checkPluginVersion ( $ adminService ) ; if ( ! is_null ( $ installationStatus ) ) { $ reports [ ] = $ installationStatus ; } if ( ! is_null ( $ versionStatus ) ) { $ reports [ ] = $ versionStatus ; } } } return $ reports ; }
Compiles a collection of solrconfig.xml checks against each configured
Solr server. Only adds an entry if the Access Filter Query Parser Plugin
is not configured.
Compiles a collection of solrconfig . xml checks against each configured Solr server . Only adds an entry if the Access Filter Query Parser Plugin is not configured .