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