public function SolrCloudConnectorInterface::pingCollection in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrCloudConnectorInterface.php \Drupal\search_api_solr\SolrCloudConnectorInterface::pingCollection()
- 8.2 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 156
Class
- SolrCloudConnectorInterface
- The Solr Cloud connector interface.
Namespace
Drupal\search_api_solrCode
public function pingCollection();