array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrclient.threads.php', 1 => 'SolrClient::threads', 2 => 'Checks the threads status', ), 'up' => array ( 0 => 'class.solrclient.php', 1 => 'SolrClient', ), 'prev' => array ( 0 => 'solrclient.system.php', 1 => 'SolrClient::system', ), 'next' => array ( 0 => 'class.solrresponse.php', 1 => 'SolrResponse', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrclient/threads.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrClient::threads

(PECL solr >= 0.9.2)

SolrClient::threadsChecks the threads status

说明

public SolrClient::threads(): void

Checks the threads status

参数

此函数没有参数。

返回值

Returns a SolrGenericResponse object.

错误/异常

Throws SolrClientException if the client failed, or there was a connection issue.

throws SolrServerException if the Solr Server failed to process the request.