Skip to content

Commit 4a538a4

Browse files
committed
Remove factor from DateHistogramAggregation
Closes #2124
1 parent 5f51b4a commit 4a538a4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Nest/Aggregations/Bucket/DateHistogram/DateHistogramAggregation.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public interface IDateHistogramAggregation : IBucketAggregation
3030
[JsonProperty("time_zone")]
3131
string TimeZone { get; set; }
3232

33-
[JsonProperty("factor")]
34-
int? Factor { get; set; }
35-
3633
[JsonProperty("offset")]
3734
string Offset { get; set; }
3835

@@ -69,7 +66,6 @@ public string Format
6966

7067
public int? MinimumDocumentCount { get; set; }
7168
public string TimeZone { get; set; }
72-
public int? Factor { get; set; }
7369
public string Offset { get; set; }
7470
public HistogramOrder Order { get; set; }
7571
public ExtendedBounds<DateTime> ExtendedBounds { get; set; }
@@ -113,8 +109,6 @@ string IDateHistogramAggregation.Format
113109

114110
string IDateHistogramAggregation.TimeZone { get; set; }
115111

116-
int? IDateHistogramAggregation.Factor { get; set; }
117-
118112
string IDateHistogramAggregation.Offset { get; set; }
119113

120114
HistogramOrder IDateHistogramAggregation.Order { get; set; }
@@ -144,8 +138,6 @@ public DateHistogramAggregationDescriptor<T> MinimumDocumentCount(int minimumDoc
144138

145139
public DateHistogramAggregationDescriptor<T> TimeZone(string timeZone) => Assign(a => a.TimeZone = timeZone);
146140

147-
public DateHistogramAggregationDescriptor<T> Interval(int factor) => Assign(a => a.Factor = factor);
148-
149141
public DateHistogramAggregationDescriptor<T> Offset(string offset) => Assign(a => a.Offset = offset);
150142

151143
public DateHistogramAggregationDescriptor<T> Order(HistogramOrder order) => Assign(a => a.Order = order);

0 commit comments

Comments
 (0)