44
55namespace Nest
66{
7- [ JsonObject ]
8- public class DateRangeFacet : Facet , IFacet < DateRange >
9- {
10- [ JsonProperty ( "ranges" ) ]
11- public IEnumerable < DateRange > Items { get ; internal set ; }
7+ [ JsonObject ]
8+ public class DateRangeFacet : Facet , IFacet < DateRange >
9+ {
10+ [ JsonProperty ( "ranges" ) ]
11+ public IEnumerable < DateRange > Items { get ; internal set ; }
1212
13- }
14- [ JsonObject ]
15- public class DateRange : FacetItem
16- {
17- [ JsonProperty ( PropertyName = "to_str" ) ]
18- public DateTime ? To { get ; internal set ; }
13+ }
14+ [ JsonObject ]
15+ public class DateRange : FacetItem
16+ {
17+ [ JsonProperty ( PropertyName = "to_str" ) ]
18+ public DateTime ? To { get ; internal set ; }
1919
20- [ JsonProperty ( PropertyName = "from_str" ) ]
21- public DateTime ? From { get ; internal set ; }
20+ [ JsonProperty ( PropertyName = "from_str" ) ]
21+ public DateTime ? From { get ; internal set ; }
2222
23- [ JsonProperty ( PropertyName = "min" ) ]
24- public double ? Min { get ; internal set ; }
23+ [ JsonProperty ( PropertyName = "min" ) ]
24+ public double ? Min { get ; internal set ; }
2525
26- [ JsonProperty ( PropertyName = "max" ) ]
27- public double ? Max { get ; internal set ; }
26+ [ JsonProperty ( PropertyName = "max" ) ]
27+ public double ? Max { get ; internal set ; }
2828
29- [ JsonProperty ( PropertyName = "total_count" ) ]
30- public int TotalCount { get ; internal set ; }
29+ [ JsonProperty ( PropertyName = "total_count" ) ]
30+ public long TotalCount { get ; internal set ; }
3131
32- [ JsonProperty ( PropertyName = "total" ) ]
33- public double Total { get ; internal set ; }
32+ [ JsonProperty ( PropertyName = "total" ) ]
33+ public double Total { get ; internal set ; }
3434
35- [ JsonProperty ( PropertyName = "mean" ) ]
36- public double ? Mean { get ; internal set ; }
37- }
35+ [ JsonProperty ( PropertyName = "mean" ) ]
36+ public double ? Mean { get ; internal set ; }
37+ }
3838}
0 commit comments