public async Task <ITextIndex> CreateAsync(DomainId schemaId) { var index = new ElasticSearchTextIndex("http://localhost:9200", "squidex", true); await index.InitializeAsync(); return(index); }
public ElasticTextIndexFixture() { Index = new ElasticSearchTextIndex( TestConfig.Configuration["elastic:configuration"], TestConfig.Configuration["elastic:indexName"]); Index.InitializeAsync(default).Wait();