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); }
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)); }