public function deleteIndex($indexName)
    {
        $this->mapProviders(function (SearchProviderInterface $provider) use ($indexName) {
            try {
                $provider->deleteIndex($this->indexNamePrefix . $indexName);
            } catch (\Exception $e) {
                // we don’t care
            }
        });
    }
public function deleteIndex($indexName)
    {
        $this->mapProviders(function (SearchProviderInterface $provider) use ($indexName) {
            try {
                $provider->deleteIndex($this->indexNamePrefix . $indexName);
            } catch (\Exception $e) {
                // we don’t care
            }
        });
    }
public function deleteIndex ( $ indexName ) { $ this -> mapProviders ( function ( SearchProviderInterface $ provider ) use ( $ indexName ) { try { $ provider -> deleteIndex ( $ this -> indexNamePrefix . $ indexName ) ; } catch ( \ Exception $ e ) { // we don’t care } } ) ; }
Delete an index

@param string $indexName Name of the index to delete
Delete an index