@Value.Default
  default IndexResolver indexResolver() {
    return IndexResolver.defaultResolver();
  }
Setup configuration to connect to Elastic search cluster
criteria/elasticsearch/src/org/immutables/criteria/elasticsearch/ElasticsearchSetup.java