diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index c4cba7c611..ef0d9f40e6 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -106505,6 +106505,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 af4883f41e..8c1f906f7d 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -70131,6 +70131,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 c3864ed57d..042417af30 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -189166,9 +189166,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-L348" + "specLocation": "ingest/_types/Processors.ts#L329-L354" }, { "kind": "interface", @@ -189288,7 +189301,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L350-L391" + "specLocation": "ingest/_types/Processors.ts#L356-L397" }, { "kind": "interface", @@ -189342,7 +189355,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L560-L576" + "specLocation": "ingest/_types/Processors.ts#L566-L582" }, { "kind": "interface", @@ -189419,7 +189432,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L578-L601" + "specLocation": "ingest/_types/Processors.ts#L584-L607" }, { "kind": "interface", @@ -189578,7 +189591,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L603-L664" + "specLocation": "ingest/_types/Processors.ts#L609-L670" }, { "kind": "interface", @@ -189644,7 +189657,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L677-L697" + "specLocation": "ingest/_types/Processors.ts#L683-L703" }, { "kind": "enum", @@ -189678,7 +189691,7 @@ "name": "ConvertType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L666-L675" + "specLocation": "ingest/_types/Processors.ts#L672-L681" }, { "kind": "interface", @@ -189776,7 +189789,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L699-L732" + "specLocation": "ingest/_types/Processors.ts#L705-L738" }, { "kind": "interface", @@ -190001,7 +190014,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L734-L772" + "specLocation": "ingest/_types/Processors.ts#L740-L778" }, { "kind": "interface", @@ -190096,7 +190109,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L774-L807" + "specLocation": "ingest/_types/Processors.ts#L780-L813" }, { "kind": "interface", @@ -190162,7 +190175,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L809-L828" + "specLocation": "ingest/_types/Processors.ts#L815-L834" }, { "kind": "interface", @@ -190397,7 +190410,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L830-L848" + "specLocation": "ingest/_types/Processors.ts#L836-L854" }, { "kind": "interface", @@ -190412,7 +190425,7 @@ "namespace": "ingest._types" }, "properties": [], - "specLocation": "ingest/_types/Processors.ts#L850-L850" + "specLocation": "ingest/_types/Processors.ts#L856-L856" }, { "kind": "interface", @@ -190516,7 +190529,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L852-L891" + "specLocation": "ingest/_types/Processors.ts#L858-L897" }, { "kind": "interface", @@ -190544,7 +190557,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L893-L899" + "specLocation": "ingest/_types/Processors.ts#L899-L905" }, { "kind": "enum", @@ -190590,7 +190603,7 @@ "name": "FingerprintDigest", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L901-L907" + "specLocation": "ingest/_types/Processors.ts#L907-L913" }, { "kind": "interface", @@ -190669,7 +190682,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L909-L937" + "specLocation": "ingest/_types/Processors.ts#L915-L943" }, { "kind": "interface", @@ -190722,7 +190735,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L939-L953" + "specLocation": "ingest/_types/Processors.ts#L945-L959" }, { "kind": "interface", @@ -190849,7 +190862,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L393-L434" + "specLocation": "ingest/_types/Processors.ts#L399-L440" }, { "kind": "enum", @@ -190865,7 +190878,7 @@ "name": "GeoGridTargetFormat", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L442-L445" + "specLocation": "ingest/_types/Processors.ts#L448-L451" }, { "kind": "enum", @@ -190884,7 +190897,7 @@ "name": "GeoGridTileType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L436-L440" + "specLocation": "ingest/_types/Processors.ts#L442-L446" }, { "kind": "interface", @@ -190991,7 +191004,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L447-L481" + "specLocation": "ingest/_types/Processors.ts#L453-L487" }, { "kind": "interface", @@ -191096,7 +191109,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L955-L986" + "specLocation": "ingest/_types/Processors.ts#L961-L992" }, { "kind": "interface", @@ -191174,7 +191187,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L988-L1012" + "specLocation": "ingest/_types/Processors.ts#L994-L1018" }, { "kind": "interface", @@ -191228,7 +191241,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1014-L1030" + "specLocation": "ingest/_types/Processors.ts#L1020-L1036" }, { "kind": "interface", @@ -191262,7 +191275,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1071-L1083", + "specLocation": "ingest/_types/Processors.ts#L1077-L1089", "variants": { "kind": "container" } @@ -191339,7 +191352,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1098-L1124" + "specLocation": "ingest/_types/Processors.ts#L1104-L1130" }, { "kind": "interface", @@ -191375,7 +191388,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1085-L1096" + "specLocation": "ingest/_types/Processors.ts#L1091-L1102" }, { "kind": "interface", @@ -191486,7 +191499,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1032-L1064" + "specLocation": "ingest/_types/Processors.ts#L1038-L1070" }, { "kind": "interface", @@ -191567,7 +191580,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1066-L1069" + "specLocation": "ingest/_types/Processors.ts#L1072-L1075" }, { "kind": "interface", @@ -191674,7 +191687,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L483-L517" + "specLocation": "ingest/_types/Processors.ts#L489-L523" }, { "kind": "interface", @@ -191736,7 +191749,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1126-L1141" + "specLocation": "ingest/_types/Processors.ts#L1132-L1147" }, { "kind": "interface", @@ -191815,7 +191828,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1143-L1172" + "specLocation": "ingest/_types/Processors.ts#L1149-L1178" }, { "kind": "enum", @@ -191833,7 +191846,7 @@ "name": "JsonProcessorConflictStrategy", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1174-L1179" + "specLocation": "ingest/_types/Processors.ts#L1180-L1185" }, { "kind": "interface", @@ -191990,7 +192003,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1181-L1233" + "specLocation": "ingest/_types/Processors.ts#L1187-L1239" }, { "kind": "interface", @@ -192065,7 +192078,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1235-L1251" + "specLocation": "ingest/_types/Processors.ts#L1241-L1257" }, { "kind": "interface", @@ -192181,7 +192194,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1253-L1287" + "specLocation": "ingest/_types/Processors.ts#L1259-L1293" }, { "kind": "interface", @@ -192469,7 +192482,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1289-L1300" + "specLocation": "ingest/_types/Processors.ts#L1295-L1306" }, { "kind": "interface", @@ -193452,7 +193465,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1302-L1343" + "specLocation": "ingest/_types/Processors.ts#L1308-L1349" }, { "kind": "interface", @@ -193505,7 +193518,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1345-L1361" + "specLocation": "ingest/_types/Processors.ts#L1351-L1367" }, { "kind": "interface", @@ -193558,7 +193571,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1363-L1377" + "specLocation": "ingest/_types/Processors.ts#L1369-L1383" }, { "kind": "interface", @@ -193611,7 +193624,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1379-L1395" + "specLocation": "ingest/_types/Processors.ts#L1385-L1401" }, { "kind": "interface", @@ -193693,7 +193706,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1397-L1425" + "specLocation": "ingest/_types/Processors.ts#L1403-L1431" }, { "kind": "interface", @@ -193765,7 +193778,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1427-L1447" + "specLocation": "ingest/_types/Processors.ts#L1433-L1453" }, { "kind": "interface", @@ -193851,7 +193864,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1449-L1483" + "specLocation": "ingest/_types/Processors.ts#L1455-L1489" }, { "kind": "interface", @@ -193894,7 +193907,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1485-L1494" + "specLocation": "ingest/_types/Processors.ts#L1491-L1500" }, { "kind": "enum", @@ -193910,7 +193923,7 @@ "name": "ShapeType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1496-L1499" + "specLocation": "ingest/_types/Processors.ts#L1502-L1505" }, { "kind": "interface", @@ -194009,7 +194022,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1501-L1517" + "specLocation": "ingest/_types/Processors.ts#L1507-L1523" }, { "kind": "interface", @@ -194088,7 +194101,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1519-L1544" + "specLocation": "ingest/_types/Processors.ts#L1525-L1550" }, { "kind": "interface", @@ -194103,7 +194116,7 @@ "namespace": "ingest._types" }, "properties": [], - "specLocation": "ingest/_types/Processors.ts#L1546-L1546" + "specLocation": "ingest/_types/Processors.ts#L1552-L1552" }, { "kind": "interface", @@ -194157,7 +194170,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1548-L1564" + "specLocation": "ingest/_types/Processors.ts#L1554-L1570" }, { "kind": "interface", @@ -194211,7 +194224,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1566-L1582" + "specLocation": "ingest/_types/Processors.ts#L1572-L1588" }, { "kind": "interface", @@ -194291,7 +194304,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1602-L1628" + "specLocation": "ingest/_types/Processors.ts#L1608-L1634" }, { "kind": "interface", @@ -194345,7 +194358,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1584-L1600" + "specLocation": "ingest/_types/Processors.ts#L1590-L1606" }, { "kind": "interface", @@ -194453,7 +194466,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L519-L550" + "specLocation": "ingest/_types/Processors.ts#L525-L556" }, { "kind": "enum", @@ -194478,7 +194491,7 @@ "name": "UserAgentProperty", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L552-L558" + "specLocation": "ingest/_types/Processors.ts#L558-L564" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index f228416ea7..6a825d734c 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -15494,6 +15494,7 @@ export interface IngestAppendProcessor extends IngestProcessorBase { value?: any | any[] 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 9c4d375d25..198744de07 100644 --- a/specification/ingest/_types/Processors.ts +++ b/specification/ingest/_types/Processors.ts @@ -345,6 +345,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 {