public function SolrConnectorPluginBase::getCoreInfo in Search API Solr 8.3
Same name and namespace in other branches
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getCoreInfo()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getCoreInfo()
- 4.x src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getCoreInfo()
Gets information about the Solr Core.
Parameters
bool $reset: If TRUE the server will be asked regardless if a previous call is cached.
Return value
object A response object with system information.
Throws
\Drupal\search_api_solr\SearchApiSolrException
Overrides SolrConnectorInterface::getCoreInfo
2 calls to SolrConnectorPluginBase::getCoreInfo()
- SolrConnectorPluginBase::getSolrVersion in src/
SolrConnector/ SolrConnectorPluginBase.php - Gets the current Solr version.
- StandardSolrCloudConnector::getCollectionInfo in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Gets information about the Solr Collection.
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 459
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getCoreInfo($reset = FALSE) {
$this
->useTimeout();
return $this
->getDataFromHandler($this->configuration['core'] . '/admin/system', $reset);
}