Package fr.pilato.spring.elasticsearch

Examples of fr.pilato.spring.elasticsearch.ElasticsearchClientFactoryBean.afterPropertiesSet()


  @Bean
  public Client esClient() throws Exception {
    ElasticsearchClientFactoryBean factory = new ElasticsearchClientFactoryBean();
    factory.setNode(esNode());
    factory.afterPropertiesSet();
    return factory.getObject();
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.