Ejemplo n.º 1
0
            public async Task <ITextIndex> CreateAsync(DomainId schemaId)
            {
                var index = new ElasticSearchTextIndex("http://localhost:9200", "squidex", true);

                await index.InitializeAsync();

                return(index);
            }
Ejemplo n.º 2
0
 public ElasticTextIndexFixture()
 {
     Index = new ElasticSearchTextIndex(
         TestConfig.Configuration["elastic:configuration"],
         TestConfig.Configuration["elastic:indexName"]);
     Index.InitializeAsync(default).Wait();