src/ElasticSearch/Transport/HTTP.php
public function delete($id=false, array $options = array()) {
        if ($id)
            return $this->call($this->buildUrl(array($this->type, $id), $options), "DELETE");
        else
            return $this->request(false, "DELETE");
    }
public function delete($id=false, array $options = array()) {
        if ($id)
            return $this->call($this->buildUrl(array($this->type, $id), $options), "DELETE");
        else
            return $this->request(false, "DELETE");
    }
public function delete ( $ id = false , array $ options = array ( ) ) { if ( $ id ) return $ this -> call ( $ this -> buildUrl ( array ( $ this -> type , $ id ) , $ options ) , "DELETE" ) ; else return $ this -> request ( false , "DELETE" ) ; }
Flush this index/type combination

@return array
@param mixed $id Id of document to delete
@param array $options Parameters to pass to delete action
Flush this index / type combination