public function SolrCloudConnectorInterface::deleteCollection in Search API Solr 4.x
Deletes collection.
Parameters
string|null $collection: Collection.
Return value
bool TRUE if successful, FALSE otherwise.
Throws
\Drupal\search_api_solr\SearchApiSolrException
1 method overrides SolrCloudConnectorInterface::deleteCollection()
- StandardSolrCloudConnector::deleteCollection in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Deletes collection.
File
- src/
SolrCloudConnectorInterface.php, line 132
Class
- SolrCloudConnectorInterface
- The Solr Cloud connector interface.
Namespace
Drupal\search_api_solrCode
public function deleteCollection(?string $collection = NULL) : bool;