You are here

public function SearchApiSolrService::ping in Search API Solr 7

Ping the Solr server to tell whether it can be accessed.

Uses the admin/ping request handler.

1 call to SearchApiSolrService::ping()
SearchApiSolrService::getExtraInformation in includes/service.inc
Returns additional, service-specific information about this server.

File

includes/service.inc, line 2607

Class

SearchApiSolrService
Search service class using Solr server.

Code

public function ping() {
  $this
    ->connect();
  return $this->solr
    ->ping();
}