You are here

public function SolrCloudConnectorInterface::pingCollection in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/SolrCloudConnectorInterface.php \Drupal\search_api_solr\SolrCloudConnectorInterface::pingCollection()
  2. 4.x src/SolrCloudConnectorInterface.php \Drupal\search_api_solr\SolrCloudConnectorInterface::pingCollection()

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

Return value

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

1 method overrides SolrCloudConnectorInterface::pingCollection()
StandardSolrCloudConnector::pingCollection in src/Plugin/SolrConnector/StandardSolrCloudConnector.php
Pings the Solr collection to tell whether it can be accessed.

File

src/SolrCloudConnectorInterface.php, line 86

Class

SolrCloudConnectorInterface
The Solr Cloud connector interface.

Namespace

Drupal\search_api_solr

Code

public function pingCollection();