public function clear($index)
    {
        $this->deleteInClient($index);
        $this->createInClient($index);

        $this->indexer();
        $this->nodeIndexerChain->getIndexer($index)->bulkMarkForReindex();
    }