diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 62ee1f1e6b..3c499d9c44 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -106572,6 +106572,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 54ac3392c0..09e65fec3a 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -70437,6 +70437,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 d6a4377a1d..933bfcde32 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -189791,9 +189791,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#L334-L360" + "specLocation": "ingest/_types/Processors.ts#L334-L366" }, { "kind": "interface", @@ -189913,7 +189926,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L362-L403" + "specLocation": "ingest/_types/Processors.ts#L368-L409" }, { "kind": "interface", @@ -189967,7 +189980,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L572-L588" + "specLocation": "ingest/_types/Processors.ts#L578-L594" }, { "kind": "interface", @@ -190047,7 +190060,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L590-L616" + "specLocation": "ingest/_types/Processors.ts#L596-L622" }, { "kind": "interface", @@ -190124,7 +190137,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L618-L641" + "specLocation": "ingest/_types/Processors.ts#L624-L647" }, { "kind": "interface", @@ -190283,7 +190296,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L643-L704" + "specLocation": "ingest/_types/Processors.ts#L649-L710" }, { "kind": "interface", @@ -190349,7 +190362,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L717-L737" + "specLocation": "ingest/_types/Processors.ts#L723-L743" }, { "kind": "enum", @@ -190383,7 +190396,7 @@ "name": "ConvertType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L706-L715" + "specLocation": "ingest/_types/Processors.ts#L712-L721" }, { "kind": "interface", @@ -190481,7 +190494,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L739-L772" + "specLocation": "ingest/_types/Processors.ts#L745-L778" }, { "kind": "interface", @@ -190706,7 +190719,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L774-L812" + "specLocation": "ingest/_types/Processors.ts#L780-L818" }, { "kind": "interface", @@ -190801,7 +190814,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L814-L847" + "specLocation": "ingest/_types/Processors.ts#L820-L853" }, { "kind": "interface", @@ -190867,7 +190880,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L849-L868" + "specLocation": "ingest/_types/Processors.ts#L855-L874" }, { "kind": "interface", @@ -191102,7 +191115,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L870-L888" + "specLocation": "ingest/_types/Processors.ts#L876-L894" }, { "kind": "interface", @@ -191117,7 +191130,7 @@ "namespace": "ingest._types" }, "properties": [], - "specLocation": "ingest/_types/Processors.ts#L890-L890" + "specLocation": "ingest/_types/Processors.ts#L896-L896" }, { "kind": "interface", @@ -191221,7 +191234,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L892-L931" + "specLocation": "ingest/_types/Processors.ts#L898-L937" }, { "kind": "interface", @@ -191249,7 +191262,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L933-L939" + "specLocation": "ingest/_types/Processors.ts#L939-L945" }, { "kind": "enum", @@ -191295,7 +191308,7 @@ "name": "FingerprintDigest", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L941-L947" + "specLocation": "ingest/_types/Processors.ts#L947-L953" }, { "kind": "interface", @@ -191374,7 +191387,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L949-L977" + "specLocation": "ingest/_types/Processors.ts#L955-L983" }, { "kind": "interface", @@ -191427,7 +191440,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L979-L993" + "specLocation": "ingest/_types/Processors.ts#L985-L999" }, { "kind": "interface", @@ -191554,7 +191567,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L405-L446" + "specLocation": "ingest/_types/Processors.ts#L411-L452" }, { "kind": "enum", @@ -191570,7 +191583,7 @@ "name": "GeoGridTargetFormat", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L454-L457" + "specLocation": "ingest/_types/Processors.ts#L460-L463" }, { "kind": "enum", @@ -191589,7 +191602,7 @@ "name": "GeoGridTileType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L448-L452" + "specLocation": "ingest/_types/Processors.ts#L454-L458" }, { "kind": "interface", @@ -191696,7 +191709,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L459-L493" + "specLocation": "ingest/_types/Processors.ts#L465-L499" }, { "kind": "interface", @@ -191801,7 +191814,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L995-L1026" + "specLocation": "ingest/_types/Processors.ts#L1001-L1032" }, { "kind": "interface", @@ -191879,7 +191892,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1028-L1052" + "specLocation": "ingest/_types/Processors.ts#L1034-L1058" }, { "kind": "interface", @@ -191933,7 +191946,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1054-L1070" + "specLocation": "ingest/_types/Processors.ts#L1060-L1076" }, { "kind": "interface", @@ -191967,7 +191980,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1111-L1123", + "specLocation": "ingest/_types/Processors.ts#L1117-L1129", "variants": { "kind": "container" } @@ -192044,7 +192057,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1138-L1164" + "specLocation": "ingest/_types/Processors.ts#L1144-L1170" }, { "kind": "interface", @@ -192080,7 +192093,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1125-L1136" + "specLocation": "ingest/_types/Processors.ts#L1131-L1142" }, { "kind": "interface", @@ -192191,7 +192204,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1072-L1104" + "specLocation": "ingest/_types/Processors.ts#L1078-L1110" }, { "kind": "interface", @@ -192272,7 +192285,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1106-L1109" + "specLocation": "ingest/_types/Processors.ts#L1112-L1115" }, { "kind": "interface", @@ -192379,7 +192392,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L495-L529" + "specLocation": "ingest/_types/Processors.ts#L501-L535" }, { "kind": "interface", @@ -192441,7 +192454,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1166-L1181" + "specLocation": "ingest/_types/Processors.ts#L1172-L1187" }, { "kind": "interface", @@ -192520,7 +192533,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1183-L1212" + "specLocation": "ingest/_types/Processors.ts#L1189-L1218" }, { "kind": "enum", @@ -192538,7 +192551,7 @@ "name": "JsonProcessorConflictStrategy", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1214-L1219" + "specLocation": "ingest/_types/Processors.ts#L1220-L1225" }, { "kind": "interface", @@ -192695,7 +192708,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1221-L1273" + "specLocation": "ingest/_types/Processors.ts#L1227-L1279" }, { "kind": "interface", @@ -192770,7 +192783,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1275-L1291" + "specLocation": "ingest/_types/Processors.ts#L1281-L1297" }, { "kind": "interface", @@ -192886,7 +192899,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1293-L1327" + "specLocation": "ingest/_types/Processors.ts#L1299-L1333" }, { "kind": "interface", @@ -193174,7 +193187,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1329-L1340" + "specLocation": "ingest/_types/Processors.ts#L1335-L1346" }, { "kind": "interface", @@ -194171,7 +194184,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1342-L1383" + "specLocation": "ingest/_types/Processors.ts#L1348-L1389" }, { "kind": "interface", @@ -194224,7 +194237,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1385-L1401" + "specLocation": "ingest/_types/Processors.ts#L1391-L1407" }, { "kind": "interface", @@ -194277,7 +194290,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1403-L1417" + "specLocation": "ingest/_types/Processors.ts#L1409-L1423" }, { "kind": "interface", @@ -194330,7 +194343,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1419-L1435" + "specLocation": "ingest/_types/Processors.ts#L1425-L1441" }, { "kind": "interface", @@ -194412,7 +194425,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1437-L1465" + "specLocation": "ingest/_types/Processors.ts#L1443-L1471" }, { "kind": "interface", @@ -194484,7 +194497,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1467-L1487" + "specLocation": "ingest/_types/Processors.ts#L1473-L1493" }, { "kind": "interface", @@ -194571,7 +194584,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1489-L1524" + "specLocation": "ingest/_types/Processors.ts#L1495-L1530" }, { "kind": "interface", @@ -194614,7 +194627,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1526-L1535" + "specLocation": "ingest/_types/Processors.ts#L1532-L1541" }, { "kind": "enum", @@ -194630,7 +194643,7 @@ "name": "ShapeType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1537-L1540" + "specLocation": "ingest/_types/Processors.ts#L1543-L1546" }, { "kind": "interface", @@ -194729,7 +194742,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1542-L1558" + "specLocation": "ingest/_types/Processors.ts#L1548-L1564" }, { "kind": "interface", @@ -194808,7 +194821,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1560-L1585" + "specLocation": "ingest/_types/Processors.ts#L1566-L1591" }, { "kind": "interface", @@ -194823,7 +194836,7 @@ "namespace": "ingest._types" }, "properties": [], - "specLocation": "ingest/_types/Processors.ts#L1587-L1587" + "specLocation": "ingest/_types/Processors.ts#L1593-L1593" }, { "kind": "interface", @@ -194877,7 +194890,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1589-L1605" + "specLocation": "ingest/_types/Processors.ts#L1595-L1611" }, { "kind": "interface", @@ -194931,7 +194944,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1607-L1623" + "specLocation": "ingest/_types/Processors.ts#L1613-L1629" }, { "kind": "interface", @@ -195011,7 +195024,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1643-L1669" + "specLocation": "ingest/_types/Processors.ts#L1649-L1675" }, { "kind": "interface", @@ -195065,7 +195078,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1625-L1641" + "specLocation": "ingest/_types/Processors.ts#L1631-L1647" }, { "kind": "interface", @@ -195173,7 +195186,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L531-L562" + "specLocation": "ingest/_types/Processors.ts#L537-L568" }, { "kind": "enum", @@ -195198,7 +195211,7 @@ "name": "UserAgentProperty", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L564-L570" + "specLocation": "ingest/_types/Processors.ts#L570-L576" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 77bfbedebc..cbcfb275f3 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -15529,6 +15529,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 61fe82d9fe..b5ef6eb8f2 100644 --- a/specification/ingest/_types/Processors.ts +++ b/specification/ingest/_types/Processors.ts @@ -357,6 +357,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 {