From 56081a4f1617caabf02112341a4de9de2f18bb5e Mon Sep 17 00:00:00 2001 From: "Theo N. Truong" Date: Mon, 21 Oct 2024 13:39:31 -0600 Subject: [PATCH] Made NestedAggregate inherit from AggregateBase instead of SingleBucketAggregateBase to resolve `doc_count` requirement conflict (#632) Signed-off-by: Theo Truong --- spec/schemas/_common.aggregations.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/schemas/_common.aggregations.yaml b/spec/schemas/_common.aggregations.yaml index be7ef28a4..2e64a19a6 100644 --- a/spec/schemas/_common.aggregations.yaml +++ b/spec/schemas/_common.aggregations.yaml @@ -784,7 +784,7 @@ components: - doc_count NestedAggregate: allOf: - - $ref: '#/components/schemas/SingleBucketAggregateBase' + - $ref: '#/components/schemas/AggregateBase' - type: object properties: doc_count: