docs: public static ElasticsearchClient getInstance(Path config, FsSettings settings) {
  
          Objects.requireNonNull(settings, "settings can not be null");
  
          for (int i = 7; i >= 1; i--) {
              logger.debug("Trying to find a client version {}", i);
  
              try {
                  return getInstance(config, settings, i);
              } catch (ClassNotFoundException ignored) {
              }
          }
  
          throw new IllegalArgumentException("Can not find any ElasticsearchClient in the classpath. " +
                  "Did you forget to add the elasticsearch client library?");
      }