コード例 #1
0
 public EventRepository(ExceptionlessElasticConfiguration configuration, IValidator <PersistentEvent> validator)
     : base(configuration.Events.Event, validator)
 {
     DisableCache();
     BatchNotifications = true;
     DefaultExcludes.Add(EventIndexType.Fields.IDX);
     FieldsRequiredForRemove.Add(EventIndexType.Fields.Date);
 }
コード例 #2
0
 public EventRepository(ExceptionlessElasticConfiguration configuration, IValidator <PersistentEvent> validator)
     : base(configuration.Events.Event, validator)
 {
     DisableCache();
     BatchNotifications = true;
     DefaultExcludes.Add(ElasticType.GetFieldName(e => e.Idx));
     DefaultExcludes.Add(EventIndexType.Alias.IpAddress);
     DefaultExcludes.Add("error");
     FieldsRequiredForRemove.Add(ElasticType.GetFieldName(e => e.Date));
 }