From 7d0dc2a15c01f4eaf37667d925a72e35fa2633f6 Mon Sep 17 00:00:00 2001 From: rand0m86 Date: Mon, 10 Jul 2023 11:30:04 +0200 Subject: [PATCH] Add missing shard_min_doc_count to TermsAggregation --- output/schema/schema.json | 39 +++++++++++++-------- output/typescript/types.ts | 1 + specification/_types/aggregations/bucket.ts | 1 + 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index e3a8c91c1d..f74f55b13d 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -46874,7 +46874,7 @@ "name": "AggregateOrder", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L403-L405", + "specLocation": "_types/aggregations/bucket.ts#L404-L406", "type": { "items": [ { @@ -49196,7 +49196,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L437-L501" + "specLocation": "_types/aggregations/bucket.ts#L438-L502" }, { "codegenNames": [ @@ -49208,7 +49208,7 @@ "name": "CategorizeTextAnalyzer", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L503-L506", + "specLocation": "_types/aggregations/bucket.ts#L504-L507", "type": { "items": [ { @@ -49634,7 +49634,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L508-L512" + "specLocation": "_types/aggregations/bucket.ts#L509-L513" }, { "inherits": { @@ -50993,7 +50993,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L551-L575" + "specLocation": "_types/aggregations/bucket.ts#L552-L576" }, { "attachedBehaviors": [ @@ -51121,7 +51121,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L545-L549" + "specLocation": "_types/aggregations/bucket.ts#L546-L550" }, { "kind": "enum", @@ -52831,7 +52831,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L514-L543" + "specLocation": "_types/aggregations/bucket.ts#L515-L544" }, { "attachedBehaviors": [ @@ -57406,6 +57406,17 @@ } } }, + { + "name": "shard_min_doc_count", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "long", + "namespace": "_types" + } + } + }, { "name": "shard_size", "required": false, @@ -57451,7 +57462,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L380-L397" + "specLocation": "_types/aggregations/bucket.ts#L380-L398" }, { "kind": "enum", @@ -57467,7 +57478,7 @@ "name": "TermsAggregationCollectMode", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L407-L410" + "specLocation": "_types/aggregations/bucket.ts#L408-L411" }, { "kind": "enum", @@ -57489,7 +57500,7 @@ "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L412-L417" + "specLocation": "_types/aggregations/bucket.ts#L413-L418" }, { "attachedBehaviors": [ @@ -57531,7 +57542,7 @@ "name": "TermsExclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L422-L423", + "specLocation": "_types/aggregations/bucket.ts#L423-L424", "type": { "items": [ { @@ -57566,7 +57577,7 @@ "name": "TermsInclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L419-L420", + "specLocation": "_types/aggregations/bucket.ts#L420-L421", "type": { "items": [ { @@ -57627,7 +57638,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L425-L428" + "specLocation": "_types/aggregations/bucket.ts#L426-L429" }, { "kind": "interface", @@ -58296,7 +58307,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L430-L435" + "specLocation": "_types/aggregations/bucket.ts#L431-L436" }, { "attachedBehaviors": [ diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 0d57b1b3f4..816fa4d550 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4032,6 +4032,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat value_type?: string order?: AggregationsAggregateOrder script?: Script + shard_min_doc_count?: long shard_size?: integer show_term_doc_count_error?: boolean size?: integer diff --git a/specification/_types/aggregations/bucket.ts b/specification/_types/aggregations/bucket.ts index 88dbb1d2b0..59eb1961c5 100644 --- a/specification/_types/aggregations/bucket.ts +++ b/specification/_types/aggregations/bucket.ts @@ -390,6 +390,7 @@ export class TermsAggregation extends BucketAggregationBase { value_type?: string order?: AggregateOrder script?: Script + shard_min_doc_count?: long shard_size?: integer show_term_doc_count_error?: boolean size?: integer