Package org.springframework.data.elasticsearch.client

Examples of org.springframework.data.elasticsearch.client.NodeClientFactoryBean


    }
    return createNodeClient();
  }

  private Client createNodeClient() throws Exception {
    NodeClientFactoryBean factory = new NodeClientFactoryBean(true);
    factory.setClusterName(this.properties.getClusterName());
    factory.afterPropertiesSet();
    return factory.getObject();
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.elasticsearch.client.NodeClientFactoryBean

Copyright © 2018 www.massapicom. 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.