protected ClusterBase() { var name = this.GetType().Name.Replace("Cluster", ""); var nodeConfig = new NodeConfiguration(TestClient.Configuration) { TypeOfCluster = name, RequiredPlugins = RequiredPlugins(this.GetType()) }; this.Node = new ElasticsearchNode(nodeConfig, new TestRunnerFileSystem(nodeConfig)); this.Node.BootstrapWork.Subscribe(handle => { this.Bootstrap(); handle.Set(); }); }
public Seeder(ElasticsearchNode node) { this.Client = node.Client; }
public Seeder(ElasticsearchNode node) : this(node, null) { }
public Seeder(ElasticsearchNode node, IIndexSettings indexSettings) { this.Client = node.Client; this.IndexSettings = indexSettings ?? DefaultIndexSettings; }