docs: public void initNewList(int maxNumberOfTerms) throws IOException {
      if (closed) {
        result = null;
        closed = false;
      }
      if (segmentRegistration != null) {
        throw new IOException("missing segment name");
      } else {
        initNewListBasic(maxNumberOfTerms);
      }
    }