array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrclient.getdebug.php', 1 => 'SolrClient::getDebug', 2 => 'Returns the debug data for the last connection attempt', ), 'up' => array ( 0 => 'class.solrclient.php', 1 => 'SolrClient', ), 'prev' => array ( 0 => 'solrclient.getbyids.php', 1 => 'SolrClient::getByIds', ), 'next' => array ( 0 => 'solrclient.getoptions.php', 1 => 'SolrClient::getOptions', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrclient/getdebug.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrClient::getDebug

(PECL solr >= 0.9.7)

SolrClient::getDebugReturns the debug data for the last connection attempt

说明

public SolrClient::getDebug(): string

Returns the debug data for the last connection attempt

参数

此函数没有参数。

返回值

Returns a string on success and null if there is nothing to return.