public FileUploadQueueProcessor(QueueContext queueContext)
     : base(queueContext)
 {
     _fileUploader = new FileUploader(queueContext.Config.ElasticSearchUserName,
                                      queueContext.Config.ElasticSearchPassword, Config.KeepIndexOnline);
     _relativeUrlForPosting = queueContext.BulkUploadRelativeUrl;
 }
Example #2
0
 public MappingUploadQueueProcessor(QueueContext queueContext)
     : base(queueContext)
 {
     _fileUploader = new FileUploader(queueContext.Config.ElasticSearchUserName,
                                      queueContext.Config.ElasticSearchPassword, Config.KeepIndexOnline);
     _mainMappingUploadRelativeUrl      = queueContext.MainMappingUploadRelativeUrl;
     _secondaryMappingUploadRelativeUrl = queueContext.SecondaryMappingUploadRelativeUrl;
 }