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