File tree 5 files changed +28
-3
lines changed
src/Nest/Domain/Aggregations
5 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ namespace Nest
5
5
public class Bucket < TBucketItem > : BucketAggregationBase
6
6
where TBucketItem : IBucketItem
7
7
{
8
+ public Bucket ( ) { }
9
+ public Bucket ( IDictionary < string , IAggregation > aggregations ) : base ( aggregations ) { }
10
+
8
11
public IList < TBucketItem > Items { get ; set ; }
9
12
}
10
13
public class Bucket : IAggregation
@@ -17,6 +20,9 @@ public class Bucket : IAggregation
17
20
public class BucketWithDocCount < TBucketItem > : BucketAggregationBase , IBucketWithCountAggregation
18
21
where TBucketItem : IBucketItem
19
22
{
23
+ public BucketWithDocCount ( ) { }
24
+ public BucketWithDocCount ( IDictionary < string , IAggregation > aggregations ) : base ( aggregations ) { }
25
+
20
26
public IList < TBucketItem > Items { get ; set ; }
21
27
22
28
public long DocCount { get ; internal set ; }
Original file line number Diff line number Diff line change 1
1
using System ;
2
+ using System . Collections . Generic ;
2
3
3
4
namespace Nest
4
5
{
5
6
public class HistogramItem : BucketAggregationBase , IBucketItem
6
7
{
8
+ public HistogramItem ( ) { }
9
+ public HistogramItem ( IDictionary < string , IAggregation > aggregations ) : base ( aggregations ) { }
10
+
7
11
public long Key { get ; set ; }
8
12
public string KeyAsString { get ; set ; }
9
13
Original file line number Diff line number Diff line change 1
- namespace Nest
1
+ using System . Collections . Generic ;
2
+
3
+ namespace Nest
2
4
{
3
5
public class KeyItem : BucketAggregationBase , IBucketItem
4
6
{
7
+ public KeyItem ( ) { }
8
+ public KeyItem ( IDictionary < string , IAggregation > aggregations ) : base ( aggregations ) { }
9
+
5
10
public string Key { get ; set ; }
6
11
public string KeyAsString { get ; set ; }
7
12
public long DocCount { get ; set ; }
Original file line number Diff line number Diff line change 1
- namespace Nest
1
+ using System . Collections . Generic ;
2
+
3
+ namespace Nest
2
4
{
3
5
public class RangeItem : BucketAggregationBase , IBucketItem
4
6
{
7
+ public RangeItem ( ) { }
8
+ public RangeItem ( IDictionary < string , IAggregation > aggregations ) : base ( aggregations ) { }
9
+
5
10
public string Key { get ; set ; }
6
11
public double ? From { get ; set ; }
7
12
public string FromAsString { get ; set ; }
Original file line number Diff line number Diff line change 1
- namespace Nest
1
+ using System . Collections . Generic ;
2
+
3
+ namespace Nest
2
4
{
3
5
public class SignificantTermItem : BucketAggregationBase , IBucketItem
4
6
{
7
+ public SignificantTermItem ( ) { }
8
+ public SignificantTermItem ( IDictionary < string , IAggregation > aggregations ) : base ( aggregations ) { }
9
+
5
10
public string Key { get ; set ; }
6
11
public long BgCount { get ; set ; }
7
12
public long DocCount { get ; set ; }
You can’t perform that action at this time.
0 commit comments