ElasticSearch\Transport\HTTP::delete PHP Метод

delete() публичный Метод

Flush this index/type combination
public delete ( mixed $id = false, array $options = [] ) : array
$id mixed Id of document to delete
$options array Parameters to pass to delete action
Результат array
    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");
        }
    }