Package org.elasticsearch.node

Examples of org.elasticsearch.node.NodeBuilder.data()


      if (null == _elasticClient) {
        Builder globalSettings = ImmutableSettings.settingsBuilder();
        Settings snode = globalSettings.put("cluster.name", _clusterName).build();
 
        NodeBuilder nBuilder = NodeBuilder.nodeBuilder().settings(snode);
        nBuilder.data(false); // Don't store your own data
        _elasticClient = new CrossVersionClient(nBuilder.build().start().client());
      }
    }//TOTEST
   
    _sIndexName = sIndexName; 
View Full Code Here


      if (null == _elasticClient) {
        Builder globalSettings = ImmutableSettings.settingsBuilder();
        Settings snode = globalSettings.put("cluster.name", _clusterName).build();
 
        NodeBuilder nBuilder = NodeBuilder.nodeBuilder().settings(snode);
        nBuilder.data(false); // Don't store your own data
        _elasticClient = new CrossVersionClient(nBuilder.build().start().client());
      }
    }//TOTEST
   
  // 2. Just store the index information  
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.