public function deleteDocument($indexName, $indexType, $uid)
    {
        $this->mapProviders(function (SearchProviderInterface $provider) use ($indexName, $indexType, $uid) {
            $provider->deleteDocument($this->indexNamePrefix . $indexName, $indexType, $uid);
        });
    }
public function deleteDocument($indexName, $indexType, $uid)
    {
        $this->mapProviders(function (SearchProviderInterface $provider) use ($indexName, $indexType, $uid) {
            $provider->deleteDocument($this->indexNamePrefix . $indexName, $indexType, $uid);
        });
    }
public function deleteDocument ( $ indexName , $ indexType , $ uid ) { $ this -> mapProviders ( function ( SearchProviderInterface $ provider ) use ( $ indexName , $ indexType , $ uid ) { $ provider -> deleteDocument ( $ this -> indexNamePrefix . $ indexName , $ indexType , $ uid ) ; } ) ; }
delete a document from the index

@param string $indexName Name of the index
@param string $indexType Type of the index the document is located
@param string $uid Unique ID of the document to be delete
delete a document from the index