Skip to content

Commit 7263b99

Browse files
committed
[codegen] update to latest spec
1 parent 9adbd52 commit 7263b99

11 files changed

Lines changed: 168 additions & 84 deletions

File tree

java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ public final Time masterTimeout() {
148148
}
149149

150150
/**
151-
* Comma-separated list of component template names used to limit the request.
152-
* Wildcard (<code>*</code>) expressions are supported.
151+
* Name of component template to retrieve. Wildcard (<code>*</code>) expressions
152+
* are supported.
153153
* <p>
154154
* API name: {@code name}
155155
*/
@@ -252,8 +252,8 @@ public final Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> f
252252
}
253253

254254
/**
255-
* Comma-separated list of component template names used to limit the request.
256-
* Wildcard (<code>*</code>) expressions are supported.
255+
* Name of component template to retrieve. Wildcard (<code>*</code>) expressions
256+
* are supported.
257257
* <p>
258258
* API name: {@code name}
259259
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@
12351235
'cluster.delete_component_template.Response': 'cluster/delete_component_template/ClusterDeleteComponentTemplateResponse.ts#L22-L24',
12361236
'cluster.delete_voting_config_exclusions.Request': 'cluster/delete_voting_config_exclusions/ClusterDeleteVotingConfigExclusionsRequest.ts#L24-L57',
12371237
'cluster.exists_component_template.Request': 'cluster/exists_component_template/ClusterComponentTemplateExistsRequest.ts#L24-L64',
1238-
'cluster.get_component_template.Request': 'cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L84',
1238+
'cluster.get_component_template.Request': 'cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L81',
12391239
'cluster.get_component_template.Response': 'cluster/get_component_template/ClusterGetComponentTemplateResponse.ts#L22-L24',
12401240
'cluster.get_settings.Request': 'cluster/get_settings/ClusterGetSettingsRequest.ts#L24-L71',
12411241
'cluster.get_settings.Response': 'cluster/get_settings/ClusterGetSettingsResponse.ts#L23-L32',
@@ -1732,8 +1732,8 @@
17321732
'indices.put_data_stream_settings.Request': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsRequest.ts#L25-L78',
17331733
'indices.put_data_stream_settings.Response': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsResponse.ts#L23-L28',
17341734
'indices.put_data_stream_settings.UpdatedDataStreamSettings': 'indices/put_data_stream_settings/IndicesPutDataStreamSettingsResponse.ts#L30-L55',
1735-
'indices.put_index_template.IndexTemplateMapping': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L165-L187',
1736-
'indices.put_index_template.Request': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L38-L163',
1735+
'indices.put_index_template.IndexTemplateMapping': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L166-L193',
1736+
'indices.put_index_template.Request': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L39-L164',
17371737
'indices.put_index_template.Response': 'indices/put_index_template/IndicesPutIndexTemplateResponse.ts#L22-L24',
17381738
'indices.put_mapping.Request': 'indices/put_mapping/IndicesPutMappingRequest.ts#L42-L187',
17391739
'indices.put_mapping.Response': 'indices/put_mapping/IndicesPutMappingResponse.ts#L22-L24',
@@ -1965,8 +1965,8 @@
19651965
'inference._types.VoyageAITaskSettings': 'inference/_types/CommonTypes.ts#L1623-L1647',
19661966
'inference._types.VoyageAITaskType': 'inference/_types/CommonTypes.ts#L1649-L1652',
19671967
'inference._types.WatsonxServiceSettings': 'inference/_types/CommonTypes.ts#L1658-L1695',
1968-
'inference._types.WatsonxServiceType': 'inference/_types/CommonTypes.ts#L1701-L1703',
1969-
'inference._types.WatsonxTaskType': 'inference/_types/CommonTypes.ts#L1697-L1699',
1968+
'inference._types.WatsonxServiceType': 'inference/_types/CommonTypes.ts#L1702-L1704',
1969+
'inference._types.WatsonxTaskType': 'inference/_types/CommonTypes.ts#L1697-L1700',
19701970
'inference.chat_completion_unified.Request': 'inference/chat_completion_unified/UnifiedRequest.ts#L24-L63',
19711971
'inference.chat_completion_unified.Response': 'inference/chat_completion_unified/UnifiedResponse.ts#L22-L24',
19721972
'inference.completion.Request': 'inference/completion/CompletionRequest.ts#L25-L65',
@@ -2027,78 +2027,78 @@
20272027
'inference.text_embedding.Response': 'inference/text_embedding/TextEmbeddingResponse.ts#L22-L24',
20282028
'inference.update.Request': 'inference/update/UpdateInferenceRequest.ts#L25-L63',
20292029
'inference.update.Response': 'inference/update/UpdateInferenceResponse.ts#L22-L24',
2030-
'ingest._types.AppendProcessor': 'ingest/_types/Processors.ts#L328-L343',
2031-
'ingest._types.AttachmentProcessor': 'ingest/_types/Processors.ts#L345-L386',
2032-
'ingest._types.BytesProcessor': 'ingest/_types/Processors.ts#L555-L571',
2033-
'ingest._types.CircleProcessor': 'ingest/_types/Processors.ts#L573-L596',
2034-
'ingest._types.CommunityIDProcessor': 'ingest/_types/Processors.ts#L598-L659',
2035-
'ingest._types.ConvertProcessor': 'ingest/_types/Processors.ts#L672-L692',
2036-
'ingest._types.ConvertType': 'ingest/_types/Processors.ts#L661-L670',
2037-
'ingest._types.CsvProcessor': 'ingest/_types/Processors.ts#L694-L727',
2030+
'ingest._types.AppendProcessor': 'ingest/_types/Processors.ts#L328-L350',
2031+
'ingest._types.AttachmentProcessor': 'ingest/_types/Processors.ts#L352-L393',
2032+
'ingest._types.BytesProcessor': 'ingest/_types/Processors.ts#L562-L578',
2033+
'ingest._types.CircleProcessor': 'ingest/_types/Processors.ts#L580-L603',
2034+
'ingest._types.CommunityIDProcessor': 'ingest/_types/Processors.ts#L605-L666',
2035+
'ingest._types.ConvertProcessor': 'ingest/_types/Processors.ts#L679-L699',
2036+
'ingest._types.ConvertType': 'ingest/_types/Processors.ts#L668-L677',
2037+
'ingest._types.CsvProcessor': 'ingest/_types/Processors.ts#L701-L734',
20382038
'ingest._types.DatabaseConfiguration': 'ingest/_types/Database.ts#L22-L37',
20392039
'ingest._types.DatabaseConfigurationFull': 'ingest/_types/Database.ts#L39-L53',
2040-
'ingest._types.DateIndexNameProcessor': 'ingest/_types/Processors.ts#L729-L767',
2041-
'ingest._types.DateProcessor': 'ingest/_types/Processors.ts#L769-L802',
2042-
'ingest._types.DissectProcessor': 'ingest/_types/Processors.ts#L804-L823',
2040+
'ingest._types.DateIndexNameProcessor': 'ingest/_types/Processors.ts#L736-L774',
2041+
'ingest._types.DateProcessor': 'ingest/_types/Processors.ts#L776-L809',
2042+
'ingest._types.DissectProcessor': 'ingest/_types/Processors.ts#L811-L830',
20432043
'ingest._types.Document': 'ingest/_types/Simulation.ts#L69-L83',
20442044
'ingest._types.DocumentSimulation': 'ingest/_types/Simulation.ts#L85-L115',
2045-
'ingest._types.DotExpanderProcessor': 'ingest/_types/Processors.ts#L825-L843',
2046-
'ingest._types.DropProcessor': 'ingest/_types/Processors.ts#L845-L845',
2047-
'ingest._types.EnrichProcessor': 'ingest/_types/Processors.ts#L847-L886',
2048-
'ingest._types.FailProcessor': 'ingest/_types/Processors.ts#L888-L894',
2049-
'ingest._types.FingerprintDigest': 'ingest/_types/Processors.ts#L896-L902',
2050-
'ingest._types.FingerprintProcessor': 'ingest/_types/Processors.ts#L904-L932',
2051-
'ingest._types.ForeachProcessor': 'ingest/_types/Processors.ts#L934-L948',
2052-
'ingest._types.GeoGridProcessor': 'ingest/_types/Processors.ts#L388-L429',
2053-
'ingest._types.GeoGridTargetFormat': 'ingest/_types/Processors.ts#L437-L440',
2054-
'ingest._types.GeoGridTileType': 'ingest/_types/Processors.ts#L431-L435',
2055-
'ingest._types.GeoIpProcessor': 'ingest/_types/Processors.ts#L442-L476',
2056-
'ingest._types.GrokProcessor': 'ingest/_types/Processors.ts#L950-L981',
2057-
'ingest._types.GsubProcessor': 'ingest/_types/Processors.ts#L983-L1007',
2058-
'ingest._types.HtmlStripProcessor': 'ingest/_types/Processors.ts#L1009-L1025',
2059-
'ingest._types.InferenceConfig': 'ingest/_types/Processors.ts#L1066-L1078',
2060-
'ingest._types.InferenceConfigClassification': 'ingest/_types/Processors.ts#L1093-L1119',
2061-
'ingest._types.InferenceConfigRegression': 'ingest/_types/Processors.ts#L1080-L1091',
2062-
'ingest._types.InferenceProcessor': 'ingest/_types/Processors.ts#L1027-L1059',
2045+
'ingest._types.DotExpanderProcessor': 'ingest/_types/Processors.ts#L832-L850',
2046+
'ingest._types.DropProcessor': 'ingest/_types/Processors.ts#L852-L852',
2047+
'ingest._types.EnrichProcessor': 'ingest/_types/Processors.ts#L854-L893',
2048+
'ingest._types.FailProcessor': 'ingest/_types/Processors.ts#L895-L901',
2049+
'ingest._types.FingerprintDigest': 'ingest/_types/Processors.ts#L903-L909',
2050+
'ingest._types.FingerprintProcessor': 'ingest/_types/Processors.ts#L911-L939',
2051+
'ingest._types.ForeachProcessor': 'ingest/_types/Processors.ts#L941-L955',
2052+
'ingest._types.GeoGridProcessor': 'ingest/_types/Processors.ts#L395-L436',
2053+
'ingest._types.GeoGridTargetFormat': 'ingest/_types/Processors.ts#L444-L447',
2054+
'ingest._types.GeoGridTileType': 'ingest/_types/Processors.ts#L438-L442',
2055+
'ingest._types.GeoIpProcessor': 'ingest/_types/Processors.ts#L449-L483',
2056+
'ingest._types.GrokProcessor': 'ingest/_types/Processors.ts#L957-L988',
2057+
'ingest._types.GsubProcessor': 'ingest/_types/Processors.ts#L990-L1014',
2058+
'ingest._types.HtmlStripProcessor': 'ingest/_types/Processors.ts#L1016-L1032',
2059+
'ingest._types.InferenceConfig': 'ingest/_types/Processors.ts#L1073-L1085',
2060+
'ingest._types.InferenceConfigClassification': 'ingest/_types/Processors.ts#L1100-L1126',
2061+
'ingest._types.InferenceConfigRegression': 'ingest/_types/Processors.ts#L1087-L1098',
2062+
'ingest._types.InferenceProcessor': 'ingest/_types/Processors.ts#L1034-L1066',
20632063
'ingest._types.Ingest': 'ingest/_types/Simulation.ts#L28-L36',
2064-
'ingest._types.InputConfig': 'ingest/_types/Processors.ts#L1061-L1064',
2065-
'ingest._types.IpLocationProcessor': 'ingest/_types/Processors.ts#L478-L512',
2064+
'ingest._types.InputConfig': 'ingest/_types/Processors.ts#L1068-L1071',
2065+
'ingest._types.IpLocationProcessor': 'ingest/_types/Processors.ts#L485-L519',
20662066
'ingest._types.Ipinfo': 'ingest/_types/Database.ts#L59-L59',
2067-
'ingest._types.JoinProcessor': 'ingest/_types/Processors.ts#L1121-L1136',
2068-
'ingest._types.JsonProcessor': 'ingest/_types/Processors.ts#L1138-L1167',
2069-
'ingest._types.JsonProcessorConflictStrategy': 'ingest/_types/Processors.ts#L1169-L1174',
2070-
'ingest._types.KeyValueProcessor': 'ingest/_types/Processors.ts#L1176-L1228',
2067+
'ingest._types.JoinProcessor': 'ingest/_types/Processors.ts#L1128-L1143',
2068+
'ingest._types.JsonProcessor': 'ingest/_types/Processors.ts#L1145-L1174',
2069+
'ingest._types.JsonProcessorConflictStrategy': 'ingest/_types/Processors.ts#L1176-L1181',
2070+
'ingest._types.KeyValueProcessor': 'ingest/_types/Processors.ts#L1183-L1235',
20712071
'ingest._types.Local': 'ingest/_types/Database.ts#L63-L65',
2072-
'ingest._types.LowercaseProcessor': 'ingest/_types/Processors.ts#L1230-L1246',
2072+
'ingest._types.LowercaseProcessor': 'ingest/_types/Processors.ts#L1237-L1253',
20732073
'ingest._types.Maxmind': 'ingest/_types/Database.ts#L55-L57',
2074-
'ingest._types.NetworkDirectionProcessor': 'ingest/_types/Processors.ts#L1248-L1282',
2074+
'ingest._types.NetworkDirectionProcessor': 'ingest/_types/Processors.ts#L1255-L1289',
20752075
'ingest._types.Pipeline': 'ingest/_types/Pipeline.ts#L23-L51',
20762076
'ingest._types.PipelineConfig': 'ingest/_types/Pipeline.ts#L67-L81',
2077-
'ingest._types.PipelineProcessor': 'ingest/_types/Processors.ts#L1284-L1295',
2077+
'ingest._types.PipelineProcessor': 'ingest/_types/Processors.ts#L1291-L1302',
20782078
'ingest._types.PipelineProcessorResult': 'ingest/_types/Simulation.ts#L59-L67',
20792079
'ingest._types.PipelineSimulationStatusOptions': 'ingest/_types/Simulation.ts#L51-L57',
20802080
'ingest._types.ProcessorBase': 'ingest/_types/Processors.ts#L303-L326',
20812081
'ingest._types.ProcessorContainer': 'ingest/_types/Processors.ts#L27-L301',
20822082
'ingest._types.Redact': 'ingest/_types/Simulation.ts#L38-L43',
2083-
'ingest._types.RedactProcessor': 'ingest/_types/Processors.ts#L1297-L1338',
2084-
'ingest._types.RegisteredDomainProcessor': 'ingest/_types/Processors.ts#L1340-L1356',
2085-
'ingest._types.RemoveProcessor': 'ingest/_types/Processors.ts#L1358-L1372',
2086-
'ingest._types.RenameProcessor': 'ingest/_types/Processors.ts#L1374-L1390',
2087-
'ingest._types.RerouteProcessor': 'ingest/_types/Processors.ts#L1392-L1420',
2088-
'ingest._types.ScriptProcessor': 'ingest/_types/Processors.ts#L1422-L1442',
2089-
'ingest._types.SetProcessor': 'ingest/_types/Processors.ts#L1444-L1478',
2090-
'ingest._types.SetSecurityUserProcessor': 'ingest/_types/Processors.ts#L1480-L1489',
2091-
'ingest._types.ShapeType': 'ingest/_types/Processors.ts#L1491-L1494',
2083+
'ingest._types.RedactProcessor': 'ingest/_types/Processors.ts#L1304-L1345',
2084+
'ingest._types.RegisteredDomainProcessor': 'ingest/_types/Processors.ts#L1347-L1363',
2085+
'ingest._types.RemoveProcessor': 'ingest/_types/Processors.ts#L1365-L1379',
2086+
'ingest._types.RenameProcessor': 'ingest/_types/Processors.ts#L1381-L1397',
2087+
'ingest._types.RerouteProcessor': 'ingest/_types/Processors.ts#L1399-L1427',
2088+
'ingest._types.ScriptProcessor': 'ingest/_types/Processors.ts#L1429-L1449',
2089+
'ingest._types.SetProcessor': 'ingest/_types/Processors.ts#L1451-L1486',
2090+
'ingest._types.SetSecurityUserProcessor': 'ingest/_types/Processors.ts#L1488-L1497',
2091+
'ingest._types.ShapeType': 'ingest/_types/Processors.ts#L1499-L1502',
20922092
'ingest._types.SimulateDocumentResult': 'ingest/_types/Simulation.ts#L45-L49',
2093-
'ingest._types.SortProcessor': 'ingest/_types/Processors.ts#L1496-L1512',
2094-
'ingest._types.SplitProcessor': 'ingest/_types/Processors.ts#L1514-L1539',
2095-
'ingest._types.TerminateProcessor': 'ingest/_types/Processors.ts#L1541-L1541',
2096-
'ingest._types.TrimProcessor': 'ingest/_types/Processors.ts#L1543-L1559',
2097-
'ingest._types.UppercaseProcessor': 'ingest/_types/Processors.ts#L1561-L1577',
2098-
'ingest._types.UriPartsProcessor': 'ingest/_types/Processors.ts#L1597-L1623',
2099-
'ingest._types.UrlDecodeProcessor': 'ingest/_types/Processors.ts#L1579-L1595',
2100-
'ingest._types.UserAgentProcessor': 'ingest/_types/Processors.ts#L514-L545',
2101-
'ingest._types.UserAgentProperty': 'ingest/_types/Processors.ts#L547-L553',
2093+
'ingest._types.SortProcessor': 'ingest/_types/Processors.ts#L1504-L1520',
2094+
'ingest._types.SplitProcessor': 'ingest/_types/Processors.ts#L1522-L1547',
2095+
'ingest._types.TerminateProcessor': 'ingest/_types/Processors.ts#L1549-L1549',
2096+
'ingest._types.TrimProcessor': 'ingest/_types/Processors.ts#L1551-L1567',
2097+
'ingest._types.UppercaseProcessor': 'ingest/_types/Processors.ts#L1569-L1585',
2098+
'ingest._types.UriPartsProcessor': 'ingest/_types/Processors.ts#L1605-L1631',
2099+
'ingest._types.UrlDecodeProcessor': 'ingest/_types/Processors.ts#L1587-L1603',
2100+
'ingest._types.UserAgentProcessor': 'ingest/_types/Processors.ts#L521-L552',
2101+
'ingest._types.UserAgentProperty': 'ingest/_types/Processors.ts#L554-L560',
21022102
'ingest._types.Web': 'ingest/_types/Database.ts#L61-L61',
21032103
'ingest.delete_geoip_database.Request': 'ingest/delete_geoip_database/DeleteGeoipDatabaseRequest.ts#L24-L58',
21042104
'ingest.delete_geoip_database.Response': 'ingest/delete_geoip_database/DeleteGeoipDatabaseResponse.ts#L22-L24',
@@ -3376,10 +3376,10 @@
33763376
if (hash.length > 1) {
33773377
hash = hash.substring(1);
33783378
}
3379-
window.location = "https://github.com/elastic/elasticsearch-specification/tree/1c755b6fc50623dce6993efb7bfd3bdaef68fb90/specification/" + (paths[hash] || "");
3379+
window.location = "https://github.com/elastic/elasticsearch-specification/tree/63643aec35fb96af6faf0b40db27568dbecb4138/specification/" + (paths[hash] || "");
33803380
</script>
33813381
</head>
33823382
<body>
3383-
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/1c755b6fc50623dce6993efb7bfd3bdaef68fb90/specification/">Elasticsearch API specification</a>.
3383+
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/63643aec35fb96af6faf0b40db27568dbecb4138/specification/">Elasticsearch API specification</a>.
33843384
</body>
33853385
</html>

java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public final List<String> index() {
234234
}
235235

236236
/**
237-
* The number of segments the index should be merged into (defayult: dynamic)
237+
* The number of segments the index should be merged into (default: dynamic)
238238
* <p>
239239
* API name: {@code max_num_segments}
240240
*/
@@ -382,7 +382,7 @@ public final Builder index(String value, String... values) {
382382
}
383383

384384
/**
385-
* The number of segments the index should be merged into (defayult: dynamic)
385+
* The number of segments the index should be merged into (default: dynamic)
386386
* <p>
387387
* API name: {@code max_num_segments}
388388
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplate.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ public static IndexTemplate of(Function<Builder, ObjectBuilder<IndexTemplate>> f
112112
}
113113

114114
/**
115-
* Required - Name of the index template.
115+
* Required - Array of wildcard (<code>*</code>) expressions used to match the
116+
* names of data streams and indices during creation.
116117
* <p>
117118
* API name: {@code index_patterns}
118119
*/
@@ -344,7 +345,8 @@ public static class Builder extends WithJsonObjectBuilderBase<Builder> implement
344345
private List<String> ignoreMissingComponentTemplates;
345346

346347
/**
347-
* Required - Name of the index template.
348+
* Required - Array of wildcard (<code>*</code>) expressions used to match the
349+
* names of data streams and indices during creation.
348350
* <p>
349351
* API name: {@code index_patterns}
350352
* <p>
@@ -356,7 +358,8 @@ public final Builder indexPatterns(List<String> list) {
356358
}
357359

358360
/**
359-
* Required - Name of the index template.
361+
* Required - Array of wildcard (<code>*</code>) expressions used to match the
362+
* names of data streams and indices during creation.
360363
* <p>
361364
* API name: {@code index_patterns}
362365
* <p>

java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndexTemplateRequest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ public final List<String> ignoreMissingComponentTemplates() {
267267
}
268268

269269
/**
270-
* Name of the index template to create.
270+
* Array of wildcard (<code>*</code>) expressions used to match the names of
271+
* data streams and indices during creation.
271272
* <p>
272273
* API name: {@code index_patterns}
273274
*/
@@ -626,7 +627,8 @@ public final Builder ignoreMissingComponentTemplates(String value, String... val
626627
}
627628

628629
/**
629-
* Name of the index template to create.
630+
* Array of wildcard (<code>*</code>) expressions used to match the names of
631+
* data streams and indices during creation.
630632
* <p>
631633
* API name: {@code index_patterns}
632634
* <p>
@@ -638,7 +640,8 @@ public final Builder indexPatterns(List<String> list) {
638640
}
639641

640642
/**
641-
* Name of the index template to create.
643+
* Array of wildcard (<code>*</code>) expressions used to match the names of
644+
* data streams and indices during creation.
642645
* <p>
643646
* API name: {@code index_patterns}
644647
* <p>

0 commit comments

Comments
 (0)