@Override
 protected void delete(IndexMetaData indexMetaData) throws ElasticSearchException {
   BlobPath indexPath = basePath().add("indices").add(indexMetaData.index());
   blobStore.delete(indexPath);
 }
 @Override
 public void reset() throws Exception {
   blobStore.delete(BlobPath.cleanPath());
 }
 @Override
 public void close(boolean delete) throws ElasticSearchException {
   if (delete) {
     blobStore.delete(shardPath);
   }
 }