(PECL solr >= 0.9.2)
SolrResponse::success — Was the request a success
public SolrResponse::success ( ) : bool
Used to check if the request to the server was successful.
This function has no parameters.
Returns true
if it was successful and false
if it was not.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrresponse.success.php