Skip to content

Commit 0fa1f0b

Browse files
committed
added script to witdh histogram (457)
1 parent d9490a0 commit 0fa1f0b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

specification/_types/aggregations/bucket.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
GeoLocation,
3131
GeoBounds
3232
} from '@_types/Geo'
33-
import { integer, float, long, double } from '@_types/Numeric'
33+
import { integer, long, double } from '@_types/Numeric'
3434
import { QueryContainer } from '@_types/query_dsl/abstractions'
3535
import { Script } from '@_types/Scripting'
3636
import {
@@ -40,11 +40,9 @@ import {
4040
TimeZone,
4141
DurationLarge
4242
} from '@_types/Time'
43-
import { Buckets, TermsAggregateBase } from './Aggregate'
43+
import { Buckets } from './Aggregate'
4444
import { Aggregation } from './Aggregation'
4545
import { Missing, MissingOrder } from './AggregationContainer'
46-
import { OverloadOf } from '@spec_utils/behaviors'
47-
import { Term } from '@global/termvectors/types'
4846
import { ValueType } from '@_types/aggregations/metric'
4947

5048
/**
@@ -1032,6 +1030,7 @@ export class VariableWidthHistogramAggregation {
10321030
* Defaults to `min(10 * shard_size, 50000)`.
10331031
*/
10341032
initial_buffer?: integer
1033+
script?: Script
10351034
}
10361035

10371036
/**

0 commit comments

Comments
 (0)