docs: public void put(String name, Object value) {
          if (value instanceof EsRequest) {
              document.setDocument(name, ((EsRequest)value).document);
          } else {
              document.set(name, value);
          }
      }