SolrResponse::success

(PECL solr >= 0.9.2)

SolrResponse::successWas the request a success

說明

public SolrResponse::success(): bool

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns true if it was successful and false if it was not.