docs: @Deprecated
      public void createIndex(String indexName, String designDocName, String indexType,
                              IndexField[] fields) {
          if (indexType == null || "json".equalsIgnoreCase(indexType)) {
              JsonIndex.Builder b = JsonIndex.builder().name(indexName).designDocument(designDocName);
              for (IndexField f : fields) {
                  switch (f.getOrder()) {
                      case desc:
                          b.desc(f.getName());
                          break;
                      case asc:
                      default:
                          b.asc(f.getName());
                          break;
                  }
              }
              createIndex(b.definition());
          } else {
              throw new CouchDbException("Unsupported index type " + indexType);
          }
      }