deleteIndex() public method

Delete an index.
public deleteIndex ( string $indexName ) : mixed
$indexName string the name of index to delete
return mixed an object containing a "deletedAt" attribute
 public function deleteIndex($index_name)
 {
     $this->checkClient(__FUNCTION__);
     $this->client->deleteIndex($index_name);
 }
 public function deleteIndex($index_name)
 {
     $this->client->deleteIndex($index_name);
 }
Example #3
0
 /**
  * @return void
  */
 public function deleteIndex()
 {
     $this->client->deleteIndex($this->getConfigurator()->index());
 }