Skip to content

Commit aca1007

Browse files
swallezgithub-actions[bot]
authored andcommitted
Fixes TopHitsAggregate which a simple aggregate (no buckets) (#1327)
1 parent db7790a commit aca1007

File tree

3 files changed

+39
-77
lines changed

3 files changed

+39
-77
lines changed

output/schema/schema.json

Lines changed: 36 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/aggregations/Aggregate.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,7 @@ export class BoxPlotAggregate extends AggregateBase {
672672
}
673673

674674
/** @variant name=top_metrics */
675-
export class TopMetricsAggregate extends MultiBucketAggregateBase<TopMetricsBucket> {}
676-
677-
export class TopMetricsBucket extends MultiBucketBase {
675+
export class TopMetricsAggregate extends AggregateBase {
678676
top: TopMetrics[]
679677
}
680678

0 commit comments

Comments
 (0)