diff --git a/output/schema/schema.json b/output/schema/schema.json index 8f8da758e3..6cad7ed18a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -50469,7 +50469,7 @@ "name": "AggregateOrder", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L983-L985", + "specLocation": "_types/aggregations/bucket.ts#L990-L992", "type": { "items": [ { @@ -52975,7 +52975,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1045-L1109" + "specLocation": "_types/aggregations/bucket.ts#L1052-L1116" }, { "codegenNames": [ @@ -52987,7 +52987,7 @@ "name": "CategorizeTextAnalyzer", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L1111-L1114", + "specLocation": "_types/aggregations/bucket.ts#L1118-L1121", "type": { "items": [ { @@ -53655,7 +53655,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1116-L1120" + "specLocation": "_types/aggregations/bucket.ts#L1123-L1127" }, { "inherits": { @@ -55052,7 +55052,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1167-L1191" + "specLocation": "_types/aggregations/bucket.ts#L1174-L1198" }, { "attachedBehaviors": [ @@ -55152,7 +55152,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1153-L1165" + "specLocation": "_types/aggregations/bucket.ts#L1160-L1172" }, { "kind": "enum", @@ -56908,7 +56908,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1122-L1151" + "specLocation": "_types/aggregations/bucket.ts#L1129-L1158" }, { "attachedBehaviors": [ @@ -61650,6 +61650,18 @@ } } }, + { + "description": "The number of documents that didn't make it into the the top size terms.\nIf this is greater than 0, the terms agg had to throw away some buckets, either because they\ndidn't fit into size on the coordinating node or they didn't fit into shard_size on the data\nnode.", + "name": "sum_other_doc_count", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + }, { "description": "The number of buckets returned out of the overall terms list.", "name": "size", @@ -61675,7 +61687,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L912-L977" + "specLocation": "_types/aggregations/bucket.ts#L912-L984" }, { "kind": "enum", @@ -61693,7 +61705,7 @@ "name": "TermsAggregationCollectMode", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L987-L996" + "specLocation": "_types/aggregations/bucket.ts#L994-L1003" }, { "kind": "enum", @@ -61715,7 +61727,7 @@ "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L998-L1003" + "specLocation": "_types/aggregations/bucket.ts#L1005-L1010" }, { "attachedBehaviors": [ @@ -61757,7 +61769,7 @@ "name": "TermsExclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L1008-L1009", + "specLocation": "_types/aggregations/bucket.ts#L1015-L1016", "type": { "items": [ { @@ -61792,7 +61804,7 @@ "name": "TermsInclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L1005-L1006", + "specLocation": "_types/aggregations/bucket.ts#L1012-L1013", "type": { "items": [ { @@ -61855,7 +61867,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1011-L1020" + "specLocation": "_types/aggregations/bucket.ts#L1018-L1027" }, { "kind": "interface", @@ -62582,7 +62594,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1022-L1043" + "specLocation": "_types/aggregations/bucket.ts#L1029-L1050" }, { "attachedBehaviors": [ diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 0fc3aec26a..af58f9f745 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4154,6 +4154,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat shard_min_doc_count?: long shard_size?: integer show_term_doc_count_error?: boolean + sum_other_doc_count?: integer size?: integer format?: string } diff --git a/specification/_types/aggregations/bucket.ts b/specification/_types/aggregations/bucket.ts index c3343f096a..f68a201610 100644 --- a/specification/_types/aggregations/bucket.ts +++ b/specification/_types/aggregations/bucket.ts @@ -968,6 +968,13 @@ export class TermsAggregation extends BucketAggregationBase { * Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard. */ show_term_doc_count_error?: boolean + /** + * The number of documents that didn't make it into the the top size terms. + * If this is greater than 0, the terms agg had to throw away some buckets, either because they + * didn't fit into size on the coordinating node or they didn't fit into shard_size on the data + * node. + */ + sum_other_doc_count?: integer /** * The number of buckets returned out of the overall terms list. * @server_default 10