docs: public void deleteIndex(String indexName, String designDocId, String type) {
          assertNotEmpty(indexName, "indexName");
          assertNotEmpty(designDocId, "designDocId");
          assertNotNull(type, "type");
          if (!designDocId.startsWith("_design")) {
              designDocId = "_design/" + designDocId;
          }
          URI uri = new DatabaseURIHelper(db.getDBUri()).path("_index").path(designDocId)
                  .path(type).path(indexName).build();
          InputStream response = null;
          try {
              HttpConnection connection = Http.DELETE(uri);
              response = client.couchDbClient.executeToInputStream(connection);
              getResponse(response, Response.class, client.getGson());
          } finally {
              close(response);
          }
      }