public function handle(Client $client, $index)
    {
        $index = $client->getIndex($index);

        if (!$index->exists()) {
            throw new IndexNotFoundException($index);
        }

        $index->delete();
    }