src/Repository/DocumentRepository.php
public function delete($index, $type, $id)
    {
        $request = $this->createRequestInstance(self::DELETE_DOCUMENT, $index, $type);
        $request->setId($id);

        return $this->client->send($request);
    }
public function delete($index, $type, $id)
    {
        $request = $this->createRequestInstance(self::DELETE_DOCUMENT, $index, $type);
        $request->setId($id);

        return $this->client->send($request);
    }
public function delete ( $ index , $ type , $ id ) { $ request = $ this -> createRequestInstance ( self :: DELETE_DOCUMENT , $ index , $ type ) ; $ request -> setId ( $ id ) ; return $ this -> client -> send ( $ request ) ; }
Deletes a document by id

@param string $index
@param string $type
@param string $id

@return \Elastification\Client\Response\ResponseInterface
@author Daniel Wendlandt
Deletes a document by id