diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 8545007008..1b8915a2a2 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": { @@ -23233,15 +23227,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", @@ -34060,6 +34045,10 @@ "additionalProperties": { "$ref": "#/components/schemas/_types.query_dsl:QueryContainer" } + }, + "separator": { + "description": "Separator used to concatenate filter names. Defaults to &.", + "type": "string" } } } @@ -48254,6 +48243,9 @@ "dense_vector" ] }, + "element_type": { + "type": "string" + }, "dims": { "type": "number" }, @@ -50666,7 +50658,6 @@ "_id", "_index", "result", - "_seq_no", "_shards", "_version" ] @@ -53367,6 +53358,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 d0311ed22a..85285f2676 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -49315,7 +49315,7 @@ }, { "name": "_seq_no", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -49540,9 +49540,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": [ @@ -50101,7 +50113,7 @@ "name": "AggregateOrder", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L974-L976", + "specLocation": "_types/aggregations/bucket.ts#L978-L980", "type": { "items": [ { @@ -51374,7 +51386,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L670-L683" + "specLocation": "_types/aggregations/bucket.ts#L674-L687" }, { "kind": "interface", @@ -51596,7 +51608,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L63-L98" + "specLocation": "_types/aggregations/bucket.ts#L67-L102" }, { "inherits": { @@ -52391,7 +52403,7 @@ "name": "CalendarInterval", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L247-L264" + "specLocation": "_types/aggregations/bucket.ts#L251-L268" }, { "inherits": { @@ -52645,7 +52657,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1036-L1100" + "specLocation": "_types/aggregations/bucket.ts#L1040-L1104" }, { "codegenNames": [ @@ -52657,7 +52669,7 @@ "name": "CategorizeTextAnalyzer", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L1102-L1105", + "specLocation": "_types/aggregations/bucket.ts#L1106-L1109", "type": { "items": [ { @@ -52710,7 +52722,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L733-L742" + "specLocation": "_types/aggregations/bucket.ts#L737-L746" }, { "attachedBehaviors": [ @@ -52757,7 +52769,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L109-L114" + "specLocation": "_types/aggregations/bucket.ts#L113-L118" }, { "inherits": { @@ -52802,7 +52814,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", @@ -52887,7 +52899,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L118-L134" + "specLocation": "_types/aggregations/bucket.ts#L122-L138" }, { "kind": "interface", @@ -52965,7 +52977,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L155-L164" + "specLocation": "_types/aggregations/bucket.ts#L159-L168" }, { "kind": "interface", @@ -53023,7 +53035,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L136-L153" + "specLocation": "_types/aggregations/bucket.ts#L140-L157" }, { "attachedBehaviors": [ @@ -53126,7 +53138,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L172-L180" + "specLocation": "_types/aggregations/bucket.ts#L176-L184" }, { "inherits": { @@ -53164,7 +53176,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L182-L185" + "specLocation": "_types/aggregations/bucket.ts#L186-L189" }, { "inherits": { @@ -53191,7 +53203,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L168-L170" + "specLocation": "_types/aggregations/bucket.ts#L172-L174" }, { "inherits": { @@ -53206,7 +53218,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", @@ -53325,7 +53337,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1107-L1111" + "specLocation": "_types/aggregations/bucket.ts#L1111-L1115" }, { "inherits": { @@ -53572,7 +53584,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L187-L245" + "specLocation": "_types/aggregations/bucket.ts#L191-L249" }, { "attachedBehaviors": [ @@ -53730,7 +53742,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L266-L292" + "specLocation": "_types/aggregations/bucket.ts#L270-L296" }, { "kind": "interface", @@ -53776,7 +53788,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L303-L316" + "specLocation": "_types/aggregations/bucket.ts#L307-L320" }, { "inherits": { @@ -53908,7 +53920,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.", @@ -54071,7 +54083,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L487-L496" + "specLocation": "_types/aggregations/bucket.ts#L491-L500" }, { "inherits": { @@ -54411,7 +54423,7 @@ "name": "FieldDateMath", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L294-L301", + "specLocation": "_types/aggregations/bucket.ts#L298-L305", "type": { "items": [ { @@ -54549,7 +54561,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L356-L376" + "specLocation": "_types/aggregations/bucket.ts#L360-L380" }, { "attachedBehaviors": [ @@ -54722,7 +54734,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1158-L1182" + "specLocation": "_types/aggregations/bucket.ts#L1162-L1186" }, { "attachedBehaviors": [ @@ -54822,7 +54834,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1144-L1156" + "specLocation": "_types/aggregations/bucket.ts#L1148-L1160" }, { "kind": "enum", @@ -55076,7 +55088,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L378-L401" + "specLocation": "_types/aggregations/bucket.ts#L382-L405" }, { "inherits": { @@ -55179,7 +55191,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L403-L428" + "specLocation": "_types/aggregations/bucket.ts#L407-L432" }, { "attachedBehaviors": [ @@ -55529,7 +55541,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L430-L456" + "specLocation": "_types/aggregations/bucket.ts#L434-L460" }, { "attachedBehaviors": [ @@ -55637,7 +55649,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L458-L483" + "specLocation": "_types/aggregations/bucket.ts#L462-L487" }, { "attachedBehaviors": [ @@ -55671,7 +55683,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/bucket.ts#L485-L485" + "specLocation": "_types/aggregations/bucket.ts#L489-L489" }, { "kind": "interface", @@ -55693,7 +55705,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L744-L749" + "specLocation": "_types/aggregations/bucket.ts#L748-L753" }, { "kind": "interface", @@ -55937,7 +55949,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L498-L544" + "specLocation": "_types/aggregations/bucket.ts#L502-L548" }, { "attachedBehaviors": [ @@ -56578,7 +56590,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1113-L1142" + "specLocation": "_types/aggregations/bucket.ts#L1117-L1146" }, { "attachedBehaviors": [ @@ -56709,7 +56721,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L546-L555" + "specLocation": "_types/aggregations/bucket.ts#L550-L559" }, { "kind": "interface", @@ -56779,7 +56791,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L557-L570" + "specLocation": "_types/aggregations/bucket.ts#L561-L574" }, { "attachedBehaviors": [ @@ -57497,7 +57509,7 @@ "name": "MinimumInterval", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L100-L107" + "specLocation": "_types/aggregations/bucket.ts#L104-L111" }, { "kind": "type_alias", @@ -57596,7 +57608,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L572-L578" + "specLocation": "_types/aggregations/bucket.ts#L576-L582" }, { "kind": "enum", @@ -57946,7 +57958,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L622-L632" + "specLocation": "_types/aggregations/bucket.ts#L626-L636" }, { "inherits": { @@ -58091,7 +58103,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L580-L620" + "specLocation": "_types/aggregations/bucket.ts#L584-L624" }, { "attachedBehaviors": [ @@ -58180,7 +58192,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L751-L760" + "specLocation": "_types/aggregations/bucket.ts#L755-L764" }, { "attachedBehaviors": [ @@ -58227,7 +58239,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L634-L639" + "specLocation": "_types/aggregations/bucket.ts#L638-L643" }, { "inherits": { @@ -58337,7 +58349,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L641-L646" + "specLocation": "_types/aggregations/bucket.ts#L645-L650" }, { "kind": "interface", @@ -58346,7 +58358,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/bucket.ts#L762-L762" + "specLocation": "_types/aggregations/bucket.ts#L766-L766" }, { "inherits": { @@ -58759,7 +58771,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L648-L668" + "specLocation": "_types/aggregations/bucket.ts#L652-L672" }, { "attachedBehaviors": [ @@ -58935,7 +58947,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L685-L715" + "specLocation": "_types/aggregations/bucket.ts#L689-L719" }, { "inherits": { @@ -59080,7 +59092,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L717-L723" + "specLocation": "_types/aggregations/bucket.ts#L721-L727" }, { "attachedBehaviors": [ @@ -59128,7 +59140,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L725-L731" + "specLocation": "_types/aggregations/bucket.ts#L729-L735" }, { "kind": "enum", @@ -59150,7 +59162,7 @@ "name": "SamplerAggregationExecutionHint", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L341-L354" + "specLocation": "_types/aggregations/bucket.ts#L345-L358" }, { "kind": "interface", @@ -59171,7 +59183,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L764-L766" + "specLocation": "_types/aggregations/bucket.ts#L768-L770" }, { "inherits": { @@ -59677,7 +59689,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L768-L832" + "specLocation": "_types/aggregations/bucket.ts#L772-L836" }, { "attachedBehaviors": [ @@ -59939,7 +59951,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L834-L906" + "specLocation": "_types/aggregations/bucket.ts#L838-L910" }, { "inherits": { @@ -61333,7 +61345,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L908-L968" + "specLocation": "_types/aggregations/bucket.ts#L912-L972" }, { "kind": "enum", @@ -61351,7 +61363,7 @@ "name": "TermsAggregationCollectMode", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L978-L987" + "specLocation": "_types/aggregations/bucket.ts#L982-L991" }, { "kind": "enum", @@ -61373,7 +61385,7 @@ "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L989-L994" + "specLocation": "_types/aggregations/bucket.ts#L993-L998" }, { "attachedBehaviors": [ @@ -61415,7 +61427,7 @@ "name": "TermsExclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L999-L1000", + "specLocation": "_types/aggregations/bucket.ts#L1003-L1004", "type": { "items": [ { @@ -61450,7 +61462,7 @@ "name": "TermsInclude", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/bucket.ts#L996-L997", + "specLocation": "_types/aggregations/bucket.ts#L1000-L1001", "type": { "items": [ { @@ -61513,7 +61525,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1002-L1011" + "specLocation": "_types/aggregations/bucket.ts#L1006-L1015" }, { "kind": "interface", @@ -62240,7 +62252,7 @@ } } ], - "specLocation": "_types/aggregations/bucket.ts#L1013-L1034" + "specLocation": "_types/aggregations/bucket.ts#L1017-L1038" }, { "attachedBehaviors": [ @@ -68562,7 +68574,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L60-L65" + "specLocation": "_types/mapping/complex.ts#L61-L66" }, { "kind": "interface", @@ -69306,6 +69318,17 @@ "value": "dense_vector" } }, + { + "name": "element_type", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, { "name": "dims", "required": false, @@ -69351,7 +69374,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L52-L58" + "specLocation": "_types/mapping/complex.ts#L52-L59" }, { "inherits": { @@ -102495,20 +102518,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": { @@ -137454,6 +137466,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", @@ -137468,7 +137492,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L941-L951" + "specLocation": "ingest/_types/Processors.ts#L941-L955" }, { "inherits": { @@ -137521,7 +137545,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L953-L969" + "specLocation": "ingest/_types/Processors.ts#L957-L973" }, { "inherits": { @@ -137603,7 +137627,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L971-L999" + "specLocation": "ingest/_types/Processors.ts#L975-L1003" }, { "inherits": { @@ -137675,7 +137699,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1001-L1021" + "specLocation": "ingest/_types/Processors.ts#L1005-L1025" }, { "inherits": { @@ -137761,7 +137785,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1023-L1057" + "specLocation": "ingest/_types/Processors.ts#L1027-L1061" }, { "inherits": { @@ -137804,7 +137828,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1059-L1068" + "specLocation": "ingest/_types/Processors.ts#L1063-L1072" }, { "kind": "enum", @@ -137820,7 +137844,7 @@ "name": "ShapeType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1070-L1073" + "specLocation": "ingest/_types/Processors.ts#L1074-L1077" }, { "inherits": { @@ -137873,7 +137897,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1075-L1091" + "specLocation": "ingest/_types/Processors.ts#L1079-L1095" }, { "inherits": { @@ -137952,7 +137976,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1093-L1118" + "specLocation": "ingest/_types/Processors.ts#L1097-L1122" }, { "inherits": { @@ -138006,7 +138030,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1120-L1136" + "specLocation": "ingest/_types/Processors.ts#L1124-L1140" }, { "inherits": { @@ -138060,7 +138084,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1138-L1154" + "specLocation": "ingest/_types/Processors.ts#L1142-L1158" }, { "inherits": { @@ -138114,7 +138138,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 5cea2e671c..c6ce965a08 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 fd9a8321df..af1bacc5cf 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 @@ -8691,7 +8693,6 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase { name: Name create?: boolean master_timeout?: Duration - cause?: string body?: { template: IndicesIndexState version?: VersionNumber @@ -12396,6 +12397,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