diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 90a79e7be6..60f5ba0c07 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -1567,9 +1567,6 @@ }, { "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#cause" } ], "requestBody": { @@ -1600,9 +1597,6 @@ }, { "$ref": "#/components/parameters/cluster.put_component_template#master_timeout" - }, - { - "$ref": "#/components/parameters/cluster.put_component_template#cause" } ], "requestBody": { @@ -23215,15 +23209,6 @@ }, "style": "form" }, - "cluster.put_component_template#cause": { - "in": "query", - "name": "cause", - "deprecated": false, - "schema": { - "type": "string" - }, - "style": "form" - }, "count#index": { "in": "path", "name": "index", @@ -34042,6 +34027,10 @@ "additionalProperties": { "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" } + }, + "separator": { + "description": "Separator used to concatenate filter names. Defaults to &.", + "type": "string" } } } @@ -48183,6 +48172,9 @@ "dense_vector" ] }, + "element_type": { + "type": "string" + }, "dims": { "type": "number" }, @@ -50595,7 +50587,6 @@ "_id", "_index", "result", - "_seq_no", "_shards", "_version" ] @@ -53296,6 +53287,9 @@ "field": { "$ref": "#/components/schemas/_types:Fields" }, + "keep": { + "$ref": "#/components/schemas/_types:Fields" + }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "type": "boolean" diff --git a/output/schema/schema.json b/output/schema/schema.json index fa301cef84..d49405db1a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -49309,7 +49309,7 @@ }, { "name": "_seq_no", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -49534,9 +49534,21 @@ } } } + }, + { + "description": "Separator used to concatenate filter names. Defaults to &.", + "name": "separator", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } } ], - "specLocation": "_types/aggregations/bucket.ts#L55-L61" + "specLocation": "_types/aggregations/bucket.ts#L55-L65" }, { "attachedBehaviors": [ @@ -50095,7 +50107,7 @@ "name": "AggregateOrder", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L974-L976", + "specLocation": "_types/aggregations/bucket.ts#L978-L980", "type": { "items": [ { @@ -51368,7 +51380,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L670-L683" + "specLocation": "_types/aggregations/bucket.ts#L674-L687" }, { "kind": "interface", @@ -51590,7 +51602,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L63-L98" + "specLocation": "_types/aggregations/bucket.ts#L67-L102" }, { "inherits": { @@ -52385,7 +52397,7 @@ "name": "CalendarInterval", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L247-L264" + "specLocation": "_types/aggregations/bucket.ts#L251-L268" }, { "inherits": { @@ -52639,7 +52651,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1036-L1100" + "specLocation": "_types/aggregations/bucket.ts#L1040-L1104" }, { "codegenNames": [ @@ -52651,7 +52663,7 @@ "name": "CategorizeTextAnalyzer", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L1102-L1105", + "specLocation": "_types/aggregations/bucket.ts#L1106-L1109", "type": { "items": [ { @@ -52704,7 +52716,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L733-L742" + "specLocation": "_types/aggregations/bucket.ts#L737-L746" }, { "attachedBehaviors": [ @@ -52751,7 +52763,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L109-L114" + "specLocation": "_types/aggregations/bucket.ts#L113-L118" }, { "inherits": { @@ -52796,7 +52808,7 @@ "name": "CompositeAggregateKey", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L116-L116", + "specLocation": "_types/aggregations/bucket.ts#L120-L120", "type": { "key": { "kind": "instance_of", @@ -52881,7 +52893,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L118-L134" + "specLocation": "_types/aggregations/bucket.ts#L122-L138" }, { "kind": "interface", @@ -52959,7 +52971,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L155-L164" + "specLocation": "_types/aggregations/bucket.ts#L159-L168" }, { "kind": "interface", @@ -53017,7 +53029,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L136-L153" + "specLocation": "_types/aggregations/bucket.ts#L140-L157" }, { "attachedBehaviors": [ @@ -53120,7 +53132,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L172-L180" + "specLocation": "_types/aggregations/bucket.ts#L176-L184" }, { "inherits": { @@ -53158,7 +53170,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L182-L185" + "specLocation": "_types/aggregations/bucket.ts#L186-L189" }, { "inherits": { @@ -53185,7 +53197,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L168-L170" + "specLocation": "_types/aggregations/bucket.ts#L172-L174" }, { "inherits": { @@ -53200,7 +53212,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/bucket.ts#L166-L166" + "specLocation": "_types/aggregations/bucket.ts#L170-L170" }, { "description": "Result of the `cumulative_cardinality` aggregation", @@ -53319,7 +53331,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1107-L1111" + "specLocation": "_types/aggregations/bucket.ts#L1111-L1115" }, { "inherits": { @@ -53566,7 +53578,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L187-L245" + "specLocation": "_types/aggregations/bucket.ts#L191-L249" }, { "attachedBehaviors": [ @@ -53724,7 +53736,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L266-L292" + "specLocation": "_types/aggregations/bucket.ts#L270-L296" }, { "kind": "interface", @@ -53770,7 +53782,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L303-L316" + "specLocation": "_types/aggregations/bucket.ts#L307-L320" }, { "inherits": { @@ -53902,7 +53914,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L318-L339" + "specLocation": "_types/aggregations/bucket.ts#L322-L343" }, { "description": "Result of a `terms` aggregation when the field is some kind of decimal number like a float, double, or distance.", @@ -54065,7 +54077,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L487-L496" + "specLocation": "_types/aggregations/bucket.ts#L491-L500" }, { "inherits": { @@ -54405,7 +54417,7 @@ "name": "FieldDateMath", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L294-L301", + "specLocation": "_types/aggregations/bucket.ts#L298-L305", "type": { "items": [ { @@ -54543,7 +54555,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L356-L376" + "specLocation": "_types/aggregations/bucket.ts#L360-L380" }, { "attachedBehaviors": [ @@ -54716,7 +54728,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1158-L1182" + "specLocation": "_types/aggregations/bucket.ts#L1162-L1186" }, { "attachedBehaviors": [ @@ -54816,7 +54828,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1144-L1156" + "specLocation": "_types/aggregations/bucket.ts#L1148-L1160" }, { "kind": "enum", @@ -55070,7 +55082,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L378-L401" + "specLocation": "_types/aggregations/bucket.ts#L382-L405" }, { "inherits": { @@ -55173,7 +55185,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L403-L428" + "specLocation": "_types/aggregations/bucket.ts#L407-L432" }, { "attachedBehaviors": [ @@ -55523,7 +55535,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L430-L456" + "specLocation": "_types/aggregations/bucket.ts#L434-L460" }, { "attachedBehaviors": [ @@ -55631,7 +55643,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L458-L483" + "specLocation": "_types/aggregations/bucket.ts#L462-L487" }, { "attachedBehaviors": [ @@ -55665,7 +55677,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/bucket.ts#L485-L485" + "specLocation": "_types/aggregations/bucket.ts#L489-L489" }, { "kind": "interface", @@ -55687,7 +55699,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L744-L749" + "specLocation": "_types/aggregations/bucket.ts#L748-L753" }, { "kind": "interface", @@ -55931,7 +55943,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L498-L544" + "specLocation": "_types/aggregations/bucket.ts#L502-L548" }, { "attachedBehaviors": [ @@ -56572,7 +56584,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1113-L1142" + "specLocation": "_types/aggregations/bucket.ts#L1117-L1146" }, { "attachedBehaviors": [ @@ -56703,7 +56715,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L546-L555" + "specLocation": "_types/aggregations/bucket.ts#L550-L559" }, { "kind": "interface", @@ -56773,7 +56785,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L557-L570" + "specLocation": "_types/aggregations/bucket.ts#L561-L574" }, { "attachedBehaviors": [ @@ -57491,7 +57503,7 @@ "name": "MinimumInterval", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L100-L107" + "specLocation": "_types/aggregations/bucket.ts#L104-L111" }, { "kind": "type_alias", @@ -57590,7 +57602,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L572-L578" + "specLocation": "_types/aggregations/bucket.ts#L576-L582" }, { "kind": "enum", @@ -57940,7 +57952,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L622-L632" + "specLocation": "_types/aggregations/bucket.ts#L626-L636" }, { "inherits": { @@ -58085,7 +58097,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L580-L620" + "specLocation": "_types/aggregations/bucket.ts#L584-L624" }, { "attachedBehaviors": [ @@ -58174,7 +58186,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L751-L760" + "specLocation": "_types/aggregations/bucket.ts#L755-L764" }, { "attachedBehaviors": [ @@ -58221,7 +58233,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L634-L639" + "specLocation": "_types/aggregations/bucket.ts#L638-L643" }, { "inherits": { @@ -58331,7 +58343,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L641-L646" + "specLocation": "_types/aggregations/bucket.ts#L645-L650" }, { "kind": "interface", @@ -58340,7 +58352,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/bucket.ts#L762-L762" + "specLocation": "_types/aggregations/bucket.ts#L766-L766" }, { "inherits": { @@ -58753,7 +58765,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L648-L668" + "specLocation": "_types/aggregations/bucket.ts#L652-L672" }, { "attachedBehaviors": [ @@ -58929,7 +58941,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L685-L715" + "specLocation": "_types/aggregations/bucket.ts#L689-L719" }, { "inherits": { @@ -59074,7 +59086,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L717-L723" + "specLocation": "_types/aggregations/bucket.ts#L721-L727" }, { "attachedBehaviors": [ @@ -59122,7 +59134,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L725-L731" + "specLocation": "_types/aggregations/bucket.ts#L729-L735" }, { "kind": "enum", @@ -59144,7 +59156,7 @@ "name": "SamplerAggregationExecutionHint", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L341-L354" + "specLocation": "_types/aggregations/bucket.ts#L345-L358" }, { "kind": "interface", @@ -59165,7 +59177,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L764-L766" + "specLocation": "_types/aggregations/bucket.ts#L768-L770" }, { "inherits": { @@ -59671,7 +59683,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L768-L832" + "specLocation": "_types/aggregations/bucket.ts#L772-L836" }, { "attachedBehaviors": [ @@ -59933,7 +59945,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L834-L906" + "specLocation": "_types/aggregations/bucket.ts#L838-L910" }, { "inherits": { @@ -61327,7 +61339,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L908-L968" + "specLocation": "_types/aggregations/bucket.ts#L912-L972" }, { "kind": "enum", @@ -61345,7 +61357,7 @@ "name": "TermsAggregationCollectMode", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L978-L987" + "specLocation": "_types/aggregations/bucket.ts#L982-L991" }, { "kind": "enum", @@ -61367,7 +61379,7 @@ "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L989-L994" + "specLocation": "_types/aggregations/bucket.ts#L993-L998" }, { "attachedBehaviors": [ @@ -61409,7 +61421,7 @@ "name": "TermsExclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L999-L1000", + "specLocation": "_types/aggregations/bucket.ts#L1003-L1004", "type": { "items": [ { @@ -61444,7 +61456,7 @@ "name": "TermsInclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L996-L997", + "specLocation": "_types/aggregations/bucket.ts#L1000-L1001", "type": { "items": [ { @@ -61507,7 +61519,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1002-L1011" + "specLocation": "_types/aggregations/bucket.ts#L1006-L1015" }, { "kind": "interface", @@ -62234,7 +62246,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1013-L1034" + "specLocation": "_types/aggregations/bucket.ts#L1017-L1038" }, { "attachedBehaviors": [ @@ -68556,7 +68568,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L60-L65" + "specLocation": "_types/mapping/complex.ts#L61-L66" }, { "kind": "interface", @@ -69300,6 +69312,17 @@ "value": "dense_vector" } }, + { + "name": "element_type", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, { "name": "dims", "required": false, @@ -69345,7 +69368,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L52-L58" + "specLocation": "_types/mapping/complex.ts#L52-L59" }, { "inherits": { @@ -102371,20 +102394,9 @@ "namespace": "_types" } } - }, - { - "name": "cause", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } } ], - "specLocation": "cluster/put_component_template/ClusterPutComponentTemplateRequest.ts#L26-L96" + "specLocation": "cluster/put_component_template/ClusterPutComponentTemplateRequest.ts#L25-L93" }, { "body": { @@ -137330,6 +137342,18 @@ } } }, + { + "description": "Fields to be kept. When set, all fields other than those specified are removed.", + "name": "keep", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Fields", + "namespace": "_types" + } + } + }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", @@ -137344,7 +137368,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L941-L951" + "specLocation": "ingest/_types/Processors.ts#L941-L955" }, { "inherits": { @@ -137397,7 +137421,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L953-L969" + "specLocation": "ingest/_types/Processors.ts#L957-L973" }, { "inherits": { @@ -137479,7 +137503,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L971-L999" + "specLocation": "ingest/_types/Processors.ts#L975-L1003" }, { "inherits": { @@ -137551,7 +137575,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1001-L1021" + "specLocation": "ingest/_types/Processors.ts#L1005-L1025" }, { "inherits": { @@ -137637,7 +137661,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1023-L1057" + "specLocation": "ingest/_types/Processors.ts#L1027-L1061" }, { "inherits": { @@ -137680,7 +137704,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1059-L1068" + "specLocation": "ingest/_types/Processors.ts#L1063-L1072" }, { "kind": "enum", @@ -137696,7 +137720,7 @@ "name": "ShapeType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1070-L1073" + "specLocation": "ingest/_types/Processors.ts#L1074-L1077" }, { "inherits": { @@ -137749,7 +137773,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1075-L1091" + "specLocation": "ingest/_types/Processors.ts#L1079-L1095" }, { "inherits": { @@ -137828,7 +137852,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1093-L1118" + "specLocation": "ingest/_types/Processors.ts#L1097-L1122" }, { "inherits": { @@ -137882,7 +137906,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1120-L1136" + "specLocation": "ingest/_types/Processors.ts#L1124-L1140" }, { "inherits": { @@ -137936,7 +137960,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1138-L1154" + "specLocation": "ingest/_types/Processors.ts#L1142-L1158" }, { "inherits": { @@ -137990,7 +138014,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1156-L1172" + "specLocation": "ingest/_types/Processors.ts#L1160-L1176" }, { "inherits": { diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 60c270fb5e..0dba2e0ac7 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -475,7 +475,6 @@ }, "cluster.put_component_template": { "request": [ - "Request: query parameter 'cause' does not exist in the json spec", "Request: missing json spec query parameter 'timeout'", "request definition cluster.put_component_template:Request / body / Property 'template' / instance_of - Non-leaf type cannot be used here: 'indices._types:IndexState'" ], diff --git a/output/typescript/types.ts b/output/typescript/types.ts index d228c47fef..f28dd9f44a 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -2828,7 +2828,7 @@ export interface WriteResponseBase { _index: IndexName _primary_term?: long result: Result - _seq_no: SequenceNumber + _seq_no?: SequenceNumber _shards: ShardStatistics _version: VersionNumber forced_refresh?: boolean @@ -2855,6 +2855,7 @@ export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiB export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase { filters?: Record + separator?: string } export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase { @@ -4972,6 +4973,7 @@ export interface MappingDenseVectorIndexOptions { export interface MappingDenseVectorProperty extends MappingPropertyBase { type: 'dense_vector' + element_type?: string dims?: integer similarity?: string index?: boolean @@ -8682,7 +8684,6 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase { name: Name create?: boolean master_timeout?: Duration - cause?: string body?: { template: IndicesIndexState version?: VersionNumber @@ -12387,6 +12388,7 @@ export interface IngestProcessorContainer { export interface IngestRemoveProcessor extends IngestProcessorBase { field: Fields + keep?: Fields ignore_missing?: boolean } diff --git a/specification/_types/Base.ts b/specification/_types/Base.ts index 3b4c3b9dca..2ac27fe0c5 100644 --- a/specification/_types/Base.ts +++ b/specification/_types/Base.ts @@ -38,7 +38,7 @@ export class WriteResponseBase { _index: IndexName _primary_term?: long result: Result - _seq_no: SequenceNumber + _seq_no?: SequenceNumber _shards: ShardStatistics _version: VersionNumber forced_refresh?: boolean diff --git a/specification/_types/aggregations/bucket.ts b/specification/_types/aggregations/bucket.ts index 061abe95f8..024e56f38a 100644 --- a/specification/_types/aggregations/bucket.ts +++ b/specification/_types/aggregations/bucket.ts @@ -58,6 +58,10 @@ export class AdjacencyMatrixAggregation extends BucketAggregationBase { * At least one filter is required. */ filters?: Dictionary + /** + * Separator used to concatenate filter names. Defaults to &. + */ + separator?: string } export class AutoDateHistogramAggregation extends BucketAggregationBase { diff --git a/specification/_types/mapping/complex.ts b/specification/_types/mapping/complex.ts index 0db891ede8..3af6956075 100644 --- a/specification/_types/mapping/complex.ts +++ b/specification/_types/mapping/complex.ts @@ -51,6 +51,7 @@ export class ObjectProperty extends CorePropertyBase { export class DenseVectorProperty extends PropertyBase { type: 'dense_vector' + element_type?: string dims?: integer similarity?: string index?: boolean diff --git a/specification/cluster/put_component_template/ClusterPutComponentTemplateRequest.ts b/specification/cluster/put_component_template/ClusterPutComponentTemplateRequest.ts index 4e0a120a5e..8c1b406feb 100644 --- a/specification/cluster/put_component_template/ClusterPutComponentTemplateRequest.ts +++ b/specification/cluster/put_component_template/ClusterPutComponentTemplateRequest.ts @@ -21,7 +21,6 @@ import { IndexState } from '@indices/_types/IndexState' import { RequestBase } from '@_types/Base' import { Metadata, Name, VersionNumber } from '@_types/common' import { Duration } from '@_types/Time' -import { ErrorCause } from '@_types/Errors' /** * Creates or updates a component template. @@ -66,8 +65,6 @@ export interface Request extends RequestBase { * If no response is received before the timeout expires, the request fails and returns an error. * @server_default 30s */ master_timeout?: Duration - - cause?: string } body: { /** diff --git a/specification/ingest/_types/Processors.ts b/specification/ingest/_types/Processors.ts index 19ce5600f5..f6df66d73c 100644 --- a/specification/ingest/_types/Processors.ts +++ b/specification/ingest/_types/Processors.ts @@ -943,6 +943,10 @@ export class RemoveProcessor extends ProcessorBase { * Fields to be removed. Supports template snippets. */ field: Fields + /** + * Fields to be kept. When set, all fields other than those specified are removed. + */ + keep?: Fields /** * If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document. * @server_default false