/// <summary> /// public constructor /// </summary> /// <param name="indexName">The index name in Elasticsearch</param> /// <param name="elasticBand">An instance of the ElasticBand which internally does all of the work.</param> public ElasticRepository(string indexName, IElasticBand elasticBand) { _elasticBand = elasticBand; IndexName = indexName; }
public AddCollectionsDocumentFilter(IElasticBand elasticBand) { _elasticBand = elasticBand; }
public ElasticScheduledTaskRepository(IElasticBand elasticBand) : base("scheduledtasks", elasticBand) { }
public CollectionDefinitionRepository(IElasticBand elasticBand) : base(CollectionsIndex.Name, elasticBand) { }
public ElasticObjectRepository(IElasticBand elasticBand) : base("test_index", elasticBand) { }
public CollectionController(ILogger <CollectionController> logger, IElasticBand elasticBand, IElasticRepository <CollectionDefinition> collectionRepository) { _logger = logger; _elasticBand = elasticBand; _collectionRepository = collectionRepository; }