@@ -19,6 +19,25 @@ import { getSumITC } from './Metrics/Sum';
19
19
import { getTopHitsITC } from './Metrics/TopHits' ;
20
20
import { getValueCountITC } from './Metrics/ValueCount' ;
21
21
22
+ import { getChildrenITC } from './Bucket/Children' ;
23
+ import { getDateHistogramITC } from './Bucket/DateHistogram' ;
24
+ import { getDateRangeITC } from './Bucket/DateRange' ;
25
+ import { getDiversifiedSamplerITC } from './Bucket/DiversifiedSampler' ;
26
+ import { getFilterITC } from './Bucket/Filter' ;
27
+ import { getFiltersITC } from './Bucket/Filters' ;
28
+ import { getGeoDistanceITC } from './Bucket/GeoDistance' ;
29
+ import { getGeohashGridITC } from './Bucket/GeohashGrid' ;
30
+ import { getGlobalITC } from './Bucket/Global' ;
31
+ import { getHistogramITC } from './Bucket/Histogram' ;
32
+ import { getIpRangeITC } from './Bucket/IpRange' ;
33
+ import { getMissingITC } from './Bucket/Missing' ;
34
+ import { getNestedITC } from './Bucket/Nested' ;
35
+ import { getRangeITC } from './Bucket/Range' ;
36
+ import { getReverseNestedITC } from './Bucket/ReverseNested' ;
37
+ import { getSamplerITC } from './Bucket/Sampler' ;
38
+ import { getSignificantTermsITC } from './Bucket/SignificantTerms' ;
39
+ import { getTermsITC } from './Bucket/Terms' ;
40
+
22
41
export function getAggRulesITC ( opts : mixed = { } ) : InputTypeComposer {
23
42
const name = getTypeName ( 'AggRules' , opts ) ;
24
43
const description = desc (
@@ -51,6 +70,25 @@ export function getAggRulesITC(opts: mixed = {}): InputTypeComposer {
51
70
top_hits : ( ) => getTopHitsITC ( opts ) ,
52
71
value_count : ( ) => getValueCountITC ( opts ) ,
53
72
73
+ children : ( ) => getChildrenITC ( opts ) ,
74
+ date_histogram : ( ) => getDateHistogramITC ( opts ) ,
75
+ date_range : ( ) => getDateRangeITC ( opts ) ,
76
+ diversified_sampler : ( ) => getDiversifiedSamplerITC ( opts ) ,
77
+ filter : ( ) => getFilterITC ( opts ) ,
78
+ filters : ( ) => getFiltersITC ( opts ) ,
79
+ geo_distance : ( ) => getGeoDistanceITC ( opts ) ,
80
+ geohash_grid : ( ) => getGeohashGridITC ( opts ) ,
81
+ global : ( ) => getGlobalITC ( opts ) ,
82
+ histogram : ( ) => getHistogramITC ( opts ) ,
83
+ ip_range : ( ) => getIpRangeITC ( opts ) ,
84
+ missing : ( ) => getMissingITC ( opts ) ,
85
+ nested : ( ) => getNestedITC ( opts ) ,
86
+ range : ( ) => getRangeITC ( opts ) ,
87
+ reverse_nested : ( ) => getReverseNestedITC ( opts ) ,
88
+ sampler : ( ) => getSamplerITC ( opts ) ,
89
+ significant_terms : ( ) => getSignificantTermsITC ( opts ) ,
90
+ terms : ( ) => getTermsITC ( opts ) ,
91
+
54
92
aggs : {
55
93
type : ( ) => [ getAggBlockITC ( opts ) ] ,
56
94
description : 'Aggregation block' ,
0 commit comments