diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 6fd54d2d9e..2b5d80da59 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -105035,6 +105035,11 @@ "description": "If `false`, the processor does not append values already present in the field.", "default": true, "type": "boolean" + }, + "ignore_empty_values": { + "description": "If `true`, the processor will skip empty values from the source (e.g. empty strings, and null values),\nrather than appending them to the field.", + "default": false, + "type": "boolean" } }, "required": [ diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index b9f4361cb5..b9e1b887e3 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -69018,6 +69018,11 @@ "description": "If `false`, the processor does not append values already present in the field.", "default": true, "type": "boolean" + }, + "ignore_empty_values": { + "description": "If `true`, the processor will skip empty values from the source (e.g. empty strings, and null values),\nrather than appending them to the field.", + "default": false, + "type": "boolean" } }, "required": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index 572e57bd52..641399c937 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -183923,9 +183923,22 @@ "namespace": "_builtins" } } + }, + { + "description": "If `true`, the processor will skip empty values from the source (e.g. empty strings, and null values),\nrather than appending them to the field.", + "name": "ignore_empty_values", + "required": false, + "serverDefault": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "ingest/_types/Processors.ts#L329-L355" + "specLocation": "ingest/_types/Processors.ts#L329-L361" }, { "kind": "interface", @@ -184045,7 +184058,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L357-L398" + "specLocation": "ingest/_types/Processors.ts#L363-L404" }, { "kind": "interface", @@ -184099,7 +184112,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L567-L583" + "specLocation": "ingest/_types/Processors.ts#L573-L589" }, { "kind": "interface", @@ -184176,7 +184189,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L585-L608" + "specLocation": "ingest/_types/Processors.ts#L591-L614" }, { "kind": "interface", @@ -184335,7 +184348,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L610-L671" + "specLocation": "ingest/_types/Processors.ts#L616-L677" }, { "kind": "interface", @@ -184401,7 +184414,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L684-L704" + "specLocation": "ingest/_types/Processors.ts#L690-L710" }, { "kind": "enum", @@ -184435,7 +184448,7 @@ "name": "ConvertType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L673-L682" + "specLocation": "ingest/_types/Processors.ts#L679-L688" }, { "kind": "interface", @@ -184533,7 +184546,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L706-L739" + "specLocation": "ingest/_types/Processors.ts#L712-L745" }, { "kind": "interface", @@ -184758,7 +184771,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L741-L779" + "specLocation": "ingest/_types/Processors.ts#L747-L785" }, { "kind": "interface", @@ -184853,7 +184866,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L781-L814" + "specLocation": "ingest/_types/Processors.ts#L787-L820" }, { "kind": "interface", @@ -184919,7 +184932,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L816-L835" + "specLocation": "ingest/_types/Processors.ts#L822-L841" }, { "kind": "interface", @@ -185154,7 +185167,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L837-L855" + "specLocation": "ingest/_types/Processors.ts#L843-L861" }, { "kind": "interface", @@ -185169,7 +185182,7 @@ "namespace": "ingest._types" }, "properties": [], - "specLocation": "ingest/_types/Processors.ts#L857-L857" + "specLocation": "ingest/_types/Processors.ts#L863-L863" }, { "kind": "interface", @@ -185273,7 +185286,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L859-L898" + "specLocation": "ingest/_types/Processors.ts#L865-L904" }, { "kind": "interface", @@ -185301,7 +185314,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L900-L906" + "specLocation": "ingest/_types/Processors.ts#L906-L912" }, { "kind": "enum", @@ -185347,7 +185360,7 @@ "name": "FingerprintDigest", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L908-L914" + "specLocation": "ingest/_types/Processors.ts#L914-L920" }, { "kind": "interface", @@ -185426,7 +185439,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L916-L944" + "specLocation": "ingest/_types/Processors.ts#L922-L950" }, { "kind": "interface", @@ -185479,7 +185492,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L946-L960" + "specLocation": "ingest/_types/Processors.ts#L952-L966" }, { "kind": "interface", @@ -185606,7 +185619,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L400-L441" + "specLocation": "ingest/_types/Processors.ts#L406-L447" }, { "kind": "enum", @@ -185622,7 +185635,7 @@ "name": "GeoGridTargetFormat", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L449-L452" + "specLocation": "ingest/_types/Processors.ts#L455-L458" }, { "kind": "enum", @@ -185641,7 +185654,7 @@ "name": "GeoGridTileType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L443-L447" + "specLocation": "ingest/_types/Processors.ts#L449-L453" }, { "kind": "interface", @@ -185748,7 +185761,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L454-L488" + "specLocation": "ingest/_types/Processors.ts#L460-L494" }, { "kind": "interface", @@ -185853,7 +185866,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L962-L993" + "specLocation": "ingest/_types/Processors.ts#L968-L999" }, { "kind": "interface", @@ -185931,7 +185944,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L995-L1019" + "specLocation": "ingest/_types/Processors.ts#L1001-L1025" }, { "kind": "interface", @@ -185985,7 +185998,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1021-L1037" + "specLocation": "ingest/_types/Processors.ts#L1027-L1043" }, { "kind": "interface", @@ -186019,7 +186032,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1078-L1090", + "specLocation": "ingest/_types/Processors.ts#L1084-L1096", "variants": { "kind": "container" } @@ -186096,7 +186109,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1105-L1131" + "specLocation": "ingest/_types/Processors.ts#L1111-L1137" }, { "kind": "interface", @@ -186132,7 +186145,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1092-L1103" + "specLocation": "ingest/_types/Processors.ts#L1098-L1109" }, { "kind": "interface", @@ -186243,7 +186256,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1039-L1071" + "specLocation": "ingest/_types/Processors.ts#L1045-L1077" }, { "kind": "interface", @@ -186324,7 +186337,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1073-L1076" + "specLocation": "ingest/_types/Processors.ts#L1079-L1082" }, { "kind": "interface", @@ -186431,7 +186444,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L490-L524" + "specLocation": "ingest/_types/Processors.ts#L496-L530" }, { "kind": "interface", @@ -186493,7 +186506,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1133-L1148" + "specLocation": "ingest/_types/Processors.ts#L1139-L1154" }, { "kind": "interface", @@ -186572,7 +186585,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1150-L1179" + "specLocation": "ingest/_types/Processors.ts#L1156-L1185" }, { "kind": "enum", @@ -186590,7 +186603,7 @@ "name": "JsonProcessorConflictStrategy", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1181-L1186" + "specLocation": "ingest/_types/Processors.ts#L1187-L1192" }, { "kind": "interface", @@ -186747,7 +186760,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1188-L1240" + "specLocation": "ingest/_types/Processors.ts#L1194-L1246" }, { "kind": "interface", @@ -186822,7 +186835,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1242-L1258" + "specLocation": "ingest/_types/Processors.ts#L1248-L1264" }, { "kind": "interface", @@ -186938,7 +186951,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1260-L1294" + "specLocation": "ingest/_types/Processors.ts#L1266-L1300" }, { "kind": "interface", @@ -187226,7 +187239,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1296-L1307" + "specLocation": "ingest/_types/Processors.ts#L1302-L1313" }, { "kind": "interface", @@ -188209,7 +188222,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1309-L1350" + "specLocation": "ingest/_types/Processors.ts#L1315-L1356" }, { "kind": "interface", @@ -188262,7 +188275,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1352-L1368" + "specLocation": "ingest/_types/Processors.ts#L1358-L1374" }, { "kind": "interface", @@ -188315,7 +188328,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1370-L1384" + "specLocation": "ingest/_types/Processors.ts#L1376-L1390" }, { "kind": "interface", @@ -188368,7 +188381,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1386-L1402" + "specLocation": "ingest/_types/Processors.ts#L1392-L1408" }, { "kind": "interface", @@ -188450,7 +188463,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1404-L1432" + "specLocation": "ingest/_types/Processors.ts#L1410-L1438" }, { "kind": "interface", @@ -188522,7 +188535,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1434-L1454" + "specLocation": "ingest/_types/Processors.ts#L1440-L1460" }, { "kind": "interface", @@ -188609,7 +188622,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1456-L1491" + "specLocation": "ingest/_types/Processors.ts#L1462-L1497" }, { "kind": "interface", @@ -188652,7 +188665,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1493-L1502" + "specLocation": "ingest/_types/Processors.ts#L1499-L1508" }, { "kind": "enum", @@ -188668,7 +188681,7 @@ "name": "ShapeType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1504-L1507" + "specLocation": "ingest/_types/Processors.ts#L1510-L1513" }, { "kind": "interface", @@ -188767,7 +188780,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1509-L1525" + "specLocation": "ingest/_types/Processors.ts#L1515-L1531" }, { "kind": "interface", @@ -188846,7 +188859,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1527-L1552" + "specLocation": "ingest/_types/Processors.ts#L1533-L1558" }, { "kind": "interface", @@ -188861,7 +188874,7 @@ "namespace": "ingest._types" }, "properties": [], - "specLocation": "ingest/_types/Processors.ts#L1554-L1554" + "specLocation": "ingest/_types/Processors.ts#L1560-L1560" }, { "kind": "interface", @@ -188915,7 +188928,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1556-L1572" + "specLocation": "ingest/_types/Processors.ts#L1562-L1578" }, { "kind": "interface", @@ -188969,7 +188982,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1574-L1590" + "specLocation": "ingest/_types/Processors.ts#L1580-L1596" }, { "kind": "interface", @@ -189049,7 +189062,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1610-L1636" + "specLocation": "ingest/_types/Processors.ts#L1616-L1642" }, { "kind": "interface", @@ -189103,7 +189116,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1592-L1608" + "specLocation": "ingest/_types/Processors.ts#L1598-L1614" }, { "kind": "interface", @@ -189211,7 +189224,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L526-L557" + "specLocation": "ingest/_types/Processors.ts#L532-L563" }, { "kind": "enum", @@ -189236,7 +189249,7 @@ "name": "UserAgentProperty", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L559-L565" + "specLocation": "ingest/_types/Processors.ts#L565-L571" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index d177bd0e4a..063ea3dcfe 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -15196,6 +15196,7 @@ export interface IngestAppendProcessor extends IngestProcessorBase { media_type?: string copy_from?: Field allow_duplicates?: boolean + ignore_empty_values?: boolean } export interface IngestAttachmentProcessor extends IngestProcessorBase { diff --git a/specification/ingest/_types/Processors.ts b/specification/ingest/_types/Processors.ts index 9da4669e8c..42eb5cd331 100644 --- a/specification/ingest/_types/Processors.ts +++ b/specification/ingest/_types/Processors.ts @@ -352,6 +352,12 @@ export class AppendProcessor extends ProcessorBase { * @server_default true */ allow_duplicates?: boolean + /** + * If `true`, the processor will skip empty values from the source (e.g. empty strings, and null values), + * rather than appending them to the field. + * @server_default false + */ + ignore_empty_values?: boolean } export class AttachmentProcessor extends ProcessorBase {