public function SolrConnectorInterface::pingServer in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::pingServer()
- 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::pingServer()
- 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::pingServer()
Pings the Solr server 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 SolrConnectorInterface::pingServer()
- SolrConnectorPluginBase::pingServer in src/
SolrConnector/ SolrConnectorPluginBase.php - Pings the Solr server to tell whether it can be accessed.
File
- src/
SolrConnectorInterface.php, line 151
Class
Namespace
Drupal\search_api_solrCode
public function pingServer();