|
SolrClient::pingChecks if Solr server is still up Description
public SolrPingResponse SolrClient::ping
( void
)
Checks if the Solr server is still alive. Sends a HEAD request to the Apache Solr server. ParametersThis function has no parameters. Return ValuesReturns a SolrPingResponse object on success and throws a SolrClientException on failure. Examples
Example #1 SolrClient::ping example
<?php The above example will output something similar to: |