public LogElasticRepository(IElasticContext elasticContext, ILogElasticMappers <T> logElasticMappers) { _elasticContext = elasticContext; _logElasticMappers = logElasticMappers; _elasticContext.SetupIndex <Log>(defaultIndex); //_elasticContext.ElasticClient.ClearCache(defaultIndex); }
public DashboardElasticRepository(IElasticContext elasticContext, IDashboardElasticMappers <T> dashboardElasticMappers) { _elasticContext = elasticContext; _dashboardElasticMappers = dashboardElasticMappers; _elasticContext.SetupIndex <DailyRate>(defaultIndex); //_elasticContext.ElasticClient.ClearCache(defaultIndex); }
public ElasticSearchHeroService(IElasticContext elasticContext) : base(elasticContext) { }
public ComicsElasticServiceBase(IElasticContext elasticContext) { _elasticContext = elasticContext; currentIndex = typeof(TDocument).Name.ToLower(); }