コード例 #1
0
 public FileUploadQueueProcessor(QueueContext queueContext)
     : base(queueContext)
 {
     _fileUploader = new FileUploader(queueContext.Config.ElasticSearchUserName,
                                      queueContext.Config.ElasticSearchPassword, Config.KeepIndexOnline);
     _relativeUrlForPosting = queueContext.BulkUploadRelativeUrl;
 }
コード例 #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;
 }