public function SolrConnectorPluginBase::pingCore in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::pingCore()
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::pingCore()
- 4.x src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::pingCore()
Pings the Solr core to tell whether it can be accessed.
Return value
mixed The latency in milliseconds if the core can be accessed, otherwise FALSE.
Overrides SolrConnectorInterface::pingCore
1 call to SolrConnectorPluginBase::pingCore()
- StandardSolrCloudConnector::pingCollection in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Pings the Solr collection to tell whether it can be accessed.
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 492
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function pingCore() {
return $this
->doPing();
}