public function deleteMangoIndex($ddoc, $name)
  {
      $documentPath = '/'.$this->databaseName.'/_index/_design/'.$ddoc.'/json/'.$name;
      $response = $this->httpClient->request('DELETE', $documentPath);

      return (isset($response->body['ok'])) ? true : false;
  }