public ESIndex(ElasicStorage storage, string index) { this.index = index; var node = new Uri(storage.ConnectionSettings.NodeUrl); var settings = new ConnectionSettings(node).DefaultIndex(index); this.client = new ElasticClient(settings); if (!this.IndexExists()) { this.CreateIndex(); } }
public OfferIndex(ElasicStorage storage) : base(storage, Index) { }
public EmployeeIndex(ElasicStorage storage) : base(storage, Index) { }