Skip to content

Commit 25e675c

Browse files
committed
[codegen] update to latest spec
1 parent 79b1d45 commit 25e675c

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3135,7 +3135,7 @@
31353135
'shutdown.get_node.ShardMigrationStatus': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L52-L54',
31363136
'shutdown.get_node.ShutdownStatus': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L45-L50',
31373137
'shutdown.get_node.ShutdownType': 'shutdown/get_node/ShutdownGetNodeResponse.ts#L40-L43',
3138-
'shutdown.put_node.Request': 'shutdown/put_node/ShutdownPutNodeRequest.ts#L25-L110',
3138+
'shutdown.put_node.Request': 'shutdown/put_node/ShutdownPutNodeRequest.ts#L25-L112',
31393139
'shutdown.put_node.Response': 'shutdown/put_node/ShutdownPutNodeResponse.ts#L22-L25',
31403140
'simulate.ingest.IngestDocumentSimulation': 'simulate/ingest/SimulateIngestResponse.ts#L36-L80',
31413141
'simulate.ingest.MergeType': 'simulate/ingest/SimulateIngestRequest.ts#L113-L116',
@@ -3555,10 +3555,10 @@
35553555
if (hash.length > 1) {
35563556
hash = hash.substring(1);
35573557
}
3558-
window.location = "https://github.com/elastic/elasticsearch-specification/tree/7ada49949544b577bc7c9ab5420771204a12cdd2/specification/" + (paths[hash] || "");
3558+
window.location = "https://github.com/elastic/elasticsearch-specification/tree/945f114d4a3628aef3dd2f038af5fd82ebd5bdc5/specification/" + (paths[hash] || "");
35593559
</script>
35603560
</head>
35613561
<body>
3562-
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/7ada49949544b577bc7c9ab5420771204a12cdd2/specification/">Elasticsearch API specification</a>.
3562+
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/945f114d4a3628aef3dd2f038af5fd82ebd5bdc5/specification/">Elasticsearch API specification</a>.
35633563
</body>
35643564
</html>

java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/PutNodeRequest.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,10 @@ public static PutNodeRequest of(Function<Builder, ObjectBuilder<PutNodeRequest>>
127127
* Only valid if type is restart. Controls how long Elasticsearch will wait for
128128
* the node to restart and join the cluster before reassigning its shards to
129129
* other nodes. This works the same as delaying allocation with the
130-
* index.unassigned.node_left.delayed_timeout setting. If you specify both a
131-
* restart allocation delay and an index-level allocation delay, the longer of
132-
* the two is used.
130+
* index.unassigned.node_left.delayed_timeout setting. If you don't specify a
131+
* restart allocation delay, a default value of 5 minutes will be used. If both
132+
* a restart allocation delay and an index-level allocation delay are
133+
* configured, the longer of the two is used.
133134
* <p>
134135
* API name: {@code allocation_delay}
135136
*/
@@ -285,9 +286,10 @@ private Builder(PutNodeRequest instance) {
285286
* Only valid if type is restart. Controls how long Elasticsearch will wait for
286287
* the node to restart and join the cluster before reassigning its shards to
287288
* other nodes. This works the same as delaying allocation with the
288-
* index.unassigned.node_left.delayed_timeout setting. If you specify both a
289-
* restart allocation delay and an index-level allocation delay, the longer of
290-
* the two is used.
289+
* index.unassigned.node_left.delayed_timeout setting. If you don't specify a
290+
* restart allocation delay, a default value of 5 minutes will be used. If both
291+
* a restart allocation delay and an index-level allocation delay are
292+
* configured, the longer of the two is used.
291293
* <p>
292294
* API name: {@code allocation_delay}
293295
*/

0 commit comments

Comments
 (0)