docs: public EsMajorVersion getInternalVersionOrThrow() {
          String version = getProperty(InternalConfigurationOptions.INTERNAL_ES_VERSION, null);
          if (version == null) {
              throw new IllegalArgumentException("Elasticsearch version:[ " + InternalConfigurationOptions.INTERNAL_ES_VERSION + "] not present in configuration");
          }
          return EsMajorVersion.parse(version);
      }