Skip to content

Commit 0b5fd1d

Browse files
committed
[codegen] update to latest spec
1 parent 12c65e4 commit 0b5fd1d

File tree

11 files changed

+131
-43
lines changed

11 files changed

+131
-43
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ public static ExistsComponentTemplateRequest of(
9898
* to false, which means information is retrieved from the master node.
9999
* <p>
100100
* API name: {@code local}
101+
*
102+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
103+
* be removed in a future version.
101104
*/
105+
@Deprecated
102106
@Nullable
103107
public final Boolean local() {
104108
return this.local;
@@ -147,7 +151,11 @@ public static class Builder extends RequestBase.AbstractBuilder<Builder>
147151
* to false, which means information is retrieved from the master node.
148152
* <p>
149153
* API name: {@code local}
154+
*
155+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
156+
* be removed in a future version.
150157
*/
158+
@Deprecated
151159
public final Builder local(@Nullable Boolean value) {
152160
this.local = value;
153161
return this;

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ public final Boolean includeDefaults() {
126126
* only. If <code>false</code>, information is retrieved from the master node.
127127
* <p>
128128
* API name: {@code local}
129+
*
130+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
131+
* be removed in a future version.
129132
*/
133+
@Deprecated
130134
@Nullable
131135
public final Boolean local() {
132136
return this.local;
@@ -216,7 +220,11 @@ public final Builder includeDefaults(@Nullable Boolean value) {
216220
* only. If <code>false</code>, information is retrieved from the master node.
217221
* <p>
218222
* API name: {@code local}
223+
*
224+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
225+
* be removed in a future version.
219226
*/
227+
@Deprecated
220228
public final Builder local(@Nullable Boolean value) {
221229
this.local = value;
222230
return this;

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,18 @@ public final List<String> index() {
203203
* (default: false)
204204
* <p>
205205
* API name: {@code local}
206+
*
207+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
208+
* be removed in a future version.
206209
*/
210+
@Deprecated
207211
@Nullable
208212
public final Boolean local() {
209213
return this.local;
210214
}
211215

212216
/**
213-
* Specify timeout for connection to master
217+
* Timeout for waiting for new cluster state in case it is blocked
214218
* <p>
215219
* API name: {@code master_timeout}
216220
*/
@@ -376,14 +380,18 @@ public final Builder index(String value, String... values) {
376380
* (default: false)
377381
* <p>
378382
* API name: {@code local}
383+
*
384+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
385+
* be removed in a future version.
379386
*/
387+
@Deprecated
380388
public final Builder local(@Nullable Boolean value) {
381389
this.local = value;
382390
return this;
383391
}
384392

385393
/**
386-
* Specify timeout for connection to master
394+
* Timeout for waiting for new cluster state in case it is blocked
387395
* <p>
388396
* API name: {@code master_timeout}
389397
*/
@@ -393,7 +401,7 @@ public final Builder masterTimeout(@Nullable Time value) {
393401
}
394402

395403
/**
396-
* Specify timeout for connection to master
404+
* Timeout for waiting for new cluster state in case it is blocked
397405
* <p>
398406
* API name: {@code master_timeout}
399407
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,11 @@ public final List<ExpandWildcard> expandWildcards() {
198198
* If true, concrete, expanded or aliased indices are ignored when frozen.
199199
* <p>
200200
* API name: {@code ignore_throttled}
201+
*
202+
* @deprecated 7.16.0 This parameter is deprecated because frozen indices have
203+
* been deprecated.
201204
*/
205+
@Deprecated
202206
@Nullable
203207
public final Boolean ignoreThrottled() {
204208
return this.ignoreThrottled;
@@ -420,7 +424,11 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val
420424
* If true, concrete, expanded or aliased indices are ignored when frozen.
421425
* <p>
422426
* API name: {@code ignore_throttled}
427+
*
428+
* @deprecated 7.16.0 This parameter is deprecated because frozen indices have
429+
* been deprecated.
423430
*/
431+
@Deprecated
424432
public final Builder ignoreThrottled(@Nullable Boolean value) {
425433
this.ignoreThrottled = value;
426434
return this;

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
'_global.msearch.MultiSearchItem': '_global/msearch/types.ts#L58-L61',
103103
'_global.msearch.MultiSearchResult': '_global/msearch/types.ts#L48-L51',
104104
'_global.msearch.MultisearchHeader': '_global/msearch/types.ts#L31-L46',
105-
'_global.msearch.Request': '_global/msearch/MultiSearchRequest.ts#L25-L140',
105+
'_global.msearch.Request': '_global/msearch/MultiSearchRequest.ts#L25-L141',
106106
'_global.msearch.Response': '_global/msearch/MultiSearchResponse.ts#L25-L28',
107107
'_global.msearch.ResponseItem': '_global/msearch/types.ts#L53-L56',
108108
'_global.msearch_template.Request': '_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L116',
@@ -1245,8 +1245,8 @@
12451245
'cluster.delete_component_template.Request': 'cluster/delete_component_template/ClusterDeleteComponentTemplateRequest.ts#L24-L61',
12461246
'cluster.delete_component_template.Response': 'cluster/delete_component_template/ClusterDeleteComponentTemplateResponse.ts#L22-L25',
12471247
'cluster.delete_voting_config_exclusions.Request': 'cluster/delete_voting_config_exclusions/ClusterDeleteVotingConfigExclusionsRequest.ts#L23-L55',
1248-
'cluster.exists_component_template.Request': 'cluster/exists_component_template/ClusterComponentTemplateExistsRequest.ts#L24-L62',
1249-
'cluster.get_component_template.Request': 'cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L81',
1248+
'cluster.exists_component_template.Request': 'cluster/exists_component_template/ClusterComponentTemplateExistsRequest.ts#L24-L63',
1249+
'cluster.get_component_template.Request': 'cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L82',
12501250
'cluster.get_component_template.Response': 'cluster/get_component_template/ClusterGetComponentTemplateResponse.ts#L22-L24',
12511251
'cluster.get_settings.Request': 'cluster/get_settings/ClusterGetSettingsRequest.ts#L23-L70',
12521252
'cluster.get_settings.Response': 'cluster/get_settings/ClusterGetSettingsResponse.ts#L23-L32',
@@ -1280,7 +1280,7 @@
12801280
'cluster.reroute.RerouteExplanation': 'cluster/reroute/types.ts#L92-L96',
12811281
'cluster.reroute.RerouteParameters': 'cluster/reroute/types.ts#L98-L105',
12821282
'cluster.reroute.Response': 'cluster/reroute/ClusterRerouteResponse.ts#L23-L34',
1283-
'cluster.state.Request': 'cluster/state/ClusterStateRequest.ts#L29-L89',
1283+
'cluster.state.Request': 'cluster/state/ClusterStateRequest.ts#L29-L95',
12841284
'cluster.state.Response': 'cluster/state/ClusterStateResponse.ts#L22-L31',
12851285
'cluster.stats.CCSStats': 'cluster/stats/types.ts#L769-L784',
12861286
'cluster.stats.CCSUsageClusterStats': 'cluster/stats/types.ts#L855-L862',
@@ -1628,7 +1628,7 @@
16281628
'indices.analyze.Request': 'indices/analyze/IndicesAnalyzeRequest.ts#L27-L119',
16291629
'indices.analyze.Response': 'indices/analyze/IndicesAnalyzeResponse.ts#L22-L27',
16301630
'indices.analyze.TokenDetail': 'indices/analyze/types.ts#L71-L74',
1631-
'indices.cancel_migrate_reindex.Request': 'indices/cancel_migrate_reindex/MigrateCancelReindexRequest.ts#L23-L38',
1631+
'indices.cancel_migrate_reindex.Request': 'indices/cancel_migrate_reindex/MigrateCancelReindexRequest.ts#L23-L44',
16321632
'indices.cancel_migrate_reindex.Response': 'indices/cancel_migrate_reindex/MigrateCancelReindexResponse.ts#L22-L25',
16331633
'indices.clear_cache.Request': 'indices/clear_cache/IndicesClearCacheRequest.ts#L23-L99',
16341634
'indices.clear_cache.Response': 'indices/clear_cache/IndicesClearCacheResponse.ts#L22-L25',
@@ -1642,8 +1642,8 @@
16421642
'indices.create.Response': 'indices/create/IndicesCreateResponse.ts#L22-L28',
16431643
'indices.create_data_stream.Request': 'indices/create_data_stream/IndicesCreateDataStreamRequest.ts#L24-L65',
16441644
'indices.create_data_stream.Response': 'indices/create_data_stream/IndicesCreateDataStreamResponse.ts#L22-L25',
1645-
'indices.create_from.CreateFrom': 'indices/create_from/MigrateCreateFromRequest.ts#L46-L60',
1646-
'indices.create_from.Request': 'indices/create_from/MigrateCreateFromRequest.ts#L25-L44',
1645+
'indices.create_from.CreateFrom': 'indices/create_from/MigrateCreateFromRequest.ts#L52-L66',
1646+
'indices.create_from.Request': 'indices/create_from/MigrateCreateFromRequest.ts#L25-L50',
16471647
'indices.create_from.Response': 'indices/create_from/MigrateCreateFromResponse.ts#L22-L28',
16481648
'indices.data_streams_stats.DataStreamsStatsItem': 'indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L45-L65',
16491649
'indices.data_streams_stats.Request': 'indices/data_streams_stats/IndicesDataStreamsStatsRequest.ts#L23-L61',
@@ -1670,7 +1670,7 @@
16701670
'indices.exists.Request': 'indices/exists/IndicesExistsRequest.ts#L23-L79',
16711671
'indices.exists_alias.Request': 'indices/exists_alias/IndicesExistsAliasRequest.ts#L24-L81',
16721672
'indices.exists_index_template.Request': 'indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L62',
1673-
'indices.exists_template.Request': 'indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L69',
1673+
'indices.exists_template.Request': 'indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L70',
16741674
'indices.explain_data_lifecycle.DataStreamLifecycleExplain': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L31-L41',
16751675
'indices.explain_data_lifecycle.Request': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleRequest.ts#L24-L51',
16761676
'indices.explain_data_lifecycle.Response': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L25-L29',
@@ -1692,7 +1692,7 @@
16921692
'indices.get.Response': 'indices/get/IndicesGetResponse.ts#L24-L27',
16931693
'indices.get_alias.Request': 'indices/get_alias/IndicesGetAliasRequest.ts#L24-L92',
16941694
'indices.get_alias.Response': 'indices/get_alias/IndicesGetAliasResponse.ts#L28-L37',
1695-
'indices.get_alias._types.IndexAliases': 'indices/get_alias/_types/response.ts#L24-L26',
1695+
'indices.get_alias._types.IndexAliases': 'indices/get_alias/_types/response.ts#L25-L27',
16961696
'indices.get_data_lifecycle.DataStreamWithLifecycle': 'indices/get_data_lifecycle/IndicesGetDataLifecycleResponse.ts#L27-L30',
16971697
'indices.get_data_lifecycle.Request': 'indices/get_data_lifecycle/IndicesGetDataLifecycleRequest.ts#L24-L68',
16981698
'indices.get_data_lifecycle.Response': 'indices/get_data_lifecycle/IndicesGetDataLifecycleResponse.ts#L23-L25',
@@ -1711,24 +1711,24 @@
17111711
'indices.get_field_mapping.Response': 'indices/get_field_mapping/IndicesGetFieldMappingResponse.ts#L24-L27',
17121712
'indices.get_field_mapping.TypeFieldMappings': 'indices/get_field_mapping/types.ts#L24-L26',
17131713
'indices.get_index_template.IndexTemplateItem': 'indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L29-L32',
1714-
'indices.get_index_template.Request': 'indices/get_index_template/IndicesGetIndexTemplateRequest.ts#L24-L72',
1714+
'indices.get_index_template.Request': 'indices/get_index_template/IndicesGetIndexTemplateRequest.ts#L24-L73',
17151715
'indices.get_index_template.Response': 'indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L23-L27',
17161716
'indices.get_mapping.IndexMappingRecord': 'indices/get_mapping/IndicesGetMappingResponse.ts#L29-L32',
17171717
'indices.get_mapping.Request': 'indices/get_mapping/IndicesGetMappingRequest.ts#L24-L84',
17181718
'indices.get_mapping.Response': 'indices/get_mapping/IndicesGetMappingResponse.ts#L24-L27',
1719-
'indices.get_migrate_reindex_status.Request': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusRequest.ts#L23-L38',
1719+
'indices.get_migrate_reindex_status.Request': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusRequest.ts#L23-L44',
17201720
'indices.get_migrate_reindex_status.Response': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L23-L36',
17211721
'indices.get_migrate_reindex_status.StatusError': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L44-L47',
17221722
'indices.get_migrate_reindex_status.StatusInProgress': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L38-L42',
1723-
'indices.get_settings.Request': 'indices/get_settings/IndicesGetSettingsRequest.ts#L24-L111',
1723+
'indices.get_settings.Request': 'indices/get_settings/IndicesGetSettingsRequest.ts#L24-L112',
17241724
'indices.get_settings.Response': 'indices/get_settings/IndicesGetSettingsResponse.ts#L24-L27',
1725-
'indices.get_template.Request': 'indices/get_template/IndicesGetTemplateRequest.ts#L24-L73',
1725+
'indices.get_template.Request': 'indices/get_template/IndicesGetTemplateRequest.ts#L24-L74',
17261726
'indices.get_template.Response': 'indices/get_template/IndicesGetTemplateResponse.ts#L23-L26',
1727-
'indices.migrate_reindex.MigrateReindex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L39-L48',
1728-
'indices.migrate_reindex.ModeEnum': 'indices/migrate_reindex/MigrateReindexRequest.ts#L54-L56',
1729-
'indices.migrate_reindex.Request': 'indices/migrate_reindex/MigrateReindexRequest.ts#L23-L37',
1727+
'indices.migrate_reindex.MigrateReindex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L45-L54',
1728+
'indices.migrate_reindex.ModeEnum': 'indices/migrate_reindex/MigrateReindexRequest.ts#L60-L62',
1729+
'indices.migrate_reindex.Request': 'indices/migrate_reindex/MigrateReindexRequest.ts#L23-L43',
17301730
'indices.migrate_reindex.Response': 'indices/migrate_reindex/MigrateReindexResponse.ts#L22-L25',
1731-
'indices.migrate_reindex.SourceIndex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L50-L52',
1731+
'indices.migrate_reindex.SourceIndex': 'indices/migrate_reindex/MigrateReindexRequest.ts#L56-L58',
17321732
'indices.migrate_to_data_stream.Request': 'indices/migrate_to_data_stream/IndicesMigrateToDataStreamRequest.ts#L24-L66',
17331733
'indices.migrate_to_data_stream.Response': 'indices/migrate_to_data_stream/IndicesMigrateToDataStreamResponse.ts#L22-L25',
17341734
'indices.modify_data_stream.Action': 'indices/modify_data_stream/types.ts#L22-L37',
@@ -3062,7 +3062,7 @@
30623062
'snapshot.repository_analyze.DetailsInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L286-L321',
30633063
'snapshot.repository_analyze.ReadBlobDetails': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L204-L248',
30643064
'snapshot.repository_analyze.ReadSummaryInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L115-L160',
3065-
'snapshot.repository_analyze.Request': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryRequest.ts#L25-L213',
3065+
'snapshot.repository_analyze.Request': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryRequest.ts#L25-L219',
30663066
'snapshot.repository_analyze.Response': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L24-L108',
30673067
'snapshot.repository_analyze.SnapshotNodeInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L110-L113',
30683068
'snapshot.repository_analyze.SummaryInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L193-L202',
@@ -3314,9 +3314,9 @@
33143314
'xpack.info.Features': 'xpack/info/types.ts#L42-L82',
33153315
'xpack.info.MinimalLicenseInformation': 'xpack/info/types.ts#L34-L40',
33163316
'xpack.info.NativeCodeInformation': 'xpack/info/types.ts#L29-L32',
3317-
'xpack.info.Request': 'xpack/info/XPackInfoRequest.ts#L22-L56',
3317+
'xpack.info.Request': 'xpack/info/XPackInfoRequest.ts#L22-L59',
33183318
'xpack.info.Response': 'xpack/info/XPackInfoResponse.ts#L22-L29',
3319-
'xpack.info.XPackCategory': 'xpack/info/XPackInfoRequest.ts#L58-L62',
3319+
'xpack.info.XPackCategory': 'xpack/info/XPackInfoRequest.ts#L61-L65',
33203320
'xpack.usage.Analytics': 'xpack/usage/types.ts#L340-L342',
33213321
'xpack.usage.AnalyticsStatistics': 'xpack/usage/types.ts#L58-L68',
33223322
'xpack.usage.Archive': 'xpack/usage/types.ts#L45-L47',
@@ -3389,10 +3389,10 @@
33893389
if (hash.length > 1) {
33903390
hash = hash.substring(1);
33913391
}
3392-
window.location = "https://github.com/elastic/elasticsearch-specification/tree/104f8be517892ff50c9ceeeae5d5a8ecb25c8b98/specification/" + (paths[hash] || "");
3392+
window.location = "https://github.com/elastic/elasticsearch-specification/tree/4b900da5fec424d5787a761fa0e798f2d135409e/specification/" + (paths[hash] || "");
33933393
</script>
33943394
</head>
33953395
<body>
3396-
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/104f8be517892ff50c9ceeeae5d5a8ecb25c8b98/specification/">Elasticsearch API specification</a>.
3396+
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/4b900da5fec424d5787a761fa0e798f2d135409e/specification/">Elasticsearch API specification</a>.
33973397
</body>
33983398
</html>

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,11 @@ public final Boolean flatSettings() {
114114
* Indicates whether to get information from the local node only.
115115
* <p>
116116
* API name: {@code local}
117+
*
118+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
119+
* be removed in a future version.
117120
*/
121+
@Deprecated
118122
@Nullable
119123
public final Boolean local() {
120124
return this.local;
@@ -176,7 +180,11 @@ public final Builder flatSettings(@Nullable Boolean value) {
176180
* Indicates whether to get information from the local node only.
177181
* <p>
178182
* API name: {@code local}
183+
*
184+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
185+
* be removed in a future version.
179186
*/
187+
@Deprecated
180188
public final Builder local(@Nullable Boolean value) {
181189
this.local = value;
182190
return this;

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@ public final Boolean includeDefaults() {
120120
* to false, which means information is retrieved from the master node.
121121
* <p>
122122
* API name: {@code local}
123+
*
124+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
125+
* be removed in a future version.
123126
*/
127+
@Deprecated
124128
@Nullable
125129
public final Boolean local() {
126130
return this.local;
@@ -138,8 +142,7 @@ public final Time masterTimeout() {
138142
}
139143

140144
/**
141-
* Comma-separated list of index template names used to limit the request.
142-
* Wildcard (*) expressions are supported.
145+
* Name of index template to retrieve. Wildcard (*) expressions are supported.
143146
* <p>
144147
* API name: {@code name}
145148
*/
@@ -197,7 +200,11 @@ public final Builder includeDefaults(@Nullable Boolean value) {
197200
* to false, which means information is retrieved from the master node.
198201
* <p>
199202
* API name: {@code local}
203+
*
204+
* @deprecated 9.0.0 This parameter has no effect, is now deprecated, and will
205+
* be removed in a future version.
200206
*/
207+
@Deprecated
201208
public final Builder local(@Nullable Boolean value) {
202209
this.local = value;
203210
return this;
@@ -225,8 +232,7 @@ public final Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> f
225232
}
226233

227234
/**
228-
* Comma-separated list of index template names used to limit the request.
229-
* Wildcard (*) expressions are supported.
235+
* Name of index template to retrieve. Wildcard (*) expressions are supported.
230236
* <p>
231237
* API name: {@code name}
232238
*/

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,11 @@ public final List<String> index() {
185185
* only. If <code>false</code>, information is retrieved from the master node.
186186
* <p>
187187
* API name: {@code local}
188+
*
189+
* @deprecated 9.1.0 This parameter is a no-op and settings are always retrieved
190+
* locally.
188191
*/
192+
@Deprecated
189193
@Nullable
190194
public final Boolean local() {
191195
return this.local;
@@ -355,7 +359,11 @@ public final Builder index(String value, String... values) {
355359
* only. If <code>false</code>, information is retrieved from the master node.
356360
* <p>
357361
* API name: {@code local}
362+
*
363+
* @deprecated 9.1.0 This parameter is a no-op and settings are always retrieved
364+
* locally.
358365
*/
366+
@Deprecated
359367
public final Builder local(@Nullable Boolean value) {
360368
this.local = value;
361369
return this;

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ public final Boolean flatSettings() {
113113
* only.
114114
* <p>
115115
* API name: {@code local}
116+
*
117+
* @deprecated 9.0.0 This parameter is a no-op and templates are always
118+
* retrieved locally.
116119
*/
120+
@Deprecated
117121
@Nullable
118122
public final Boolean local() {
119123
return this.local;
@@ -178,7 +182,11 @@ public final Builder flatSettings(@Nullable Boolean value) {
178182
* only.
179183
* <p>
180184
* API name: {@code local}
185+
*
186+
* @deprecated 9.0.0 This parameter is a no-op and templates are always
187+
* retrieved locally.
181188
*/
189+
@Deprecated
182190
public final Builder local(@Nullable Boolean value) {
183191
this.local = value;
184192
return this;

0 commit comments

Comments
 (0)