public function StandardSolrCloudConnector::pingCore in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::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.
Overrides SolrConnectorPluginBase::pingCore
File
- src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php, line 267
Class
- StandardSolrCloudConnector
- Standard Solr Cloud connector.
Namespace
Drupal\search_api_solr\Plugin\SolrConnectorCode
public function pingCore(array $options = []) {
return parent::pingCore([
'distrib' => TRUE,
]);
}