SolrResponse
PHP Manual

SolrResponse::success

(PECL solr >= 0.9.2)

SolrResponse::successWas the request a success

说明

public bool SolrResponse::success ( void )

Used to check if the request to the server was successful.

参数

此函数没有参数。

返回值

Returns TRUE if it was successful and FALSE if it was not.


SolrResponse
PHP Manual