You are here

public function SolrConnectorInterface::pingCore in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::pingCore()
  2. 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::pingCore()
  3. 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::pingCore()

Pings the Solr core to tell whether it can be accessed.

Parameters

array $options: (optional) An array of options.

Return value

mixed The latency in milliseconds if the core can be accessed, otherwise FALSE.

1 method overrides SolrConnectorInterface::pingCore()
SolrConnectorPluginBase::pingCore in src/SolrConnector/SolrConnectorPluginBase.php
Pings the Solr core to tell whether it can be accessed.

File

src/SolrConnectorInterface.php, line 208

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function pingCore(array $options = []);