예제 #1
0
 /// <summary>
 /// Creates a new instance of an IBBIndexerService with an Elasticsearch backend.
 /// </summary>
 /// <param name="client"></param>
 /// <param name="config"></param>
 public ESBBIndexerService(IElasticClient client,
                           IOptions <ESBBIndexerServiceOptions> config,
                           ILogger <ESBBIndexerService> logger)
 {
     this._client = client;
     this._config = config.Value;
     this._logger = logger;
 }
예제 #2
0
 /// <summary>
 /// Creates a new instance of an IBBIndexerService with an Elasticsearch backend.
 /// </summary>
 /// <param name="client"></param>
 /// <param name="config"></param>
 public ESBBIndexerService(IElasticClient client, IOptions <ESBBIndexerServiceOptions> config)
 {
     this._client = client;
     this._config = config.Value;
 }