docs: public boolean deleteIndex(String name) throws IOException {
          CloseableHttpClient client = HttpClients.createDefault();
          HttpDelete delete = new HttpDelete(String.format("http://%s:%d/%s", host, port, name));
          try {
              CloseableHttpResponse resp = client.execute(delete);
              return resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK;
          } finally {
              delete.releaseConnection();
          }
      }