예제 #1
0
        public void Dispose()
        {
            var client = ElasticSearchClientConfiguration.CreateClient("lldconf");

            client.DeleteByQuery <ElasticApplicationConfig>(
                d => d.Query(q => q.Term(t => t.Field(conf => conf.Path).Value(path))));
            client.DeleteByQuery <ElasticApplication>(
                d => d.Query(q => q.Term(t => t.Field(conf => conf.Path).Value(path))));
        }
 public ElasticUserManagerTests()
 {
     client = ElasticSearchClientConfiguration.CreateClient(null);
     userId = Guid.NewGuid().ToString("N");
 }
 public ElasticLogStoreTests()
 {
     client = ElasticSearchClientConfiguration.CreateClient(null);
 }
예제 #4
0
 public ElasticConfigurationManagerTests()
 {
     client = ElasticSearchClientConfiguration.CreateClient(null);
 }