code: 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");
      }
docs: Flush this index/type combination
  
  @return array
  @param mixed $id Id of document to delete
  @param array $options Parameters to pass to delete action