You are here

public function StandardSolrCloudConnector::getCollectionInfo in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::getCollectionInfo()
  2. 4.x src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::getCollectionInfo()

Gets information about the Solr Collection.

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 SolrCloudConnectorInterface::getCollectionInfo

File

src/Plugin/SolrConnector/StandardSolrCloudConnector.php, line 84

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function getCollectionInfo($reset = FALSE) {
  return $this
    ->getCoreInfo();
}