private function deleteForProject($project_id)
 {
     $this->logger->debug('deleting all project documents #' . $project_id);
     try {
         $this->client->getIndexedType($project_id);
         $this->client->deleteType($project_id);
     } catch (ElasticSearch_TypeNotIndexed $exception) {
         $this->logger->debug('project #' . $project_id . ' not indexed, nothing to delete');
         return;
     }
 }
 public function deleteTrackerIndex($tracker_id)
 {
     $this->client->deleteType($tracker_id);
 }