elasticsearch 8.18.0__py3-none-any.whl → 9.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. elasticsearch/_async/client/__init__.py +62 -277
  2. elasticsearch/_async/client/_base.py +1 -1
  3. elasticsearch/_async/client/async_search.py +6 -10
  4. elasticsearch/_async/client/autoscaling.py +4 -4
  5. elasticsearch/_async/client/cat.py +26 -33
  6. elasticsearch/_async/client/ccr.py +13 -13
  7. elasticsearch/_async/client/cluster.py +20 -20
  8. elasticsearch/_async/client/connector.py +44 -30
  9. elasticsearch/_async/client/dangling_indices.py +3 -3
  10. elasticsearch/_async/client/enrich.py +5 -5
  11. elasticsearch/_async/client/eql.py +4 -4
  12. elasticsearch/_async/client/esql.py +7 -11
  13. elasticsearch/_async/client/features.py +2 -2
  14. elasticsearch/_async/client/fleet.py +18 -20
  15. elasticsearch/_async/client/graph.py +1 -1
  16. elasticsearch/_async/client/ilm.py +18 -11
  17. elasticsearch/_async/client/indices.py +75 -163
  18. elasticsearch/_async/client/inference.py +132 -25
  19. elasticsearch/_async/client/ingest.py +12 -12
  20. elasticsearch/_async/client/license.py +7 -7
  21. elasticsearch/_async/client/logstash.py +3 -3
  22. elasticsearch/_async/client/migration.py +3 -3
  23. elasticsearch/_async/client/ml.py +80 -85
  24. elasticsearch/_async/client/monitoring.py +1 -1
  25. elasticsearch/_async/client/nodes.py +8 -8
  26. elasticsearch/_async/client/query_rules.py +8 -8
  27. elasticsearch/_async/client/rollup.py +8 -8
  28. elasticsearch/_async/client/search_application.py +10 -10
  29. elasticsearch/_async/client/searchable_snapshots.py +4 -4
  30. elasticsearch/_async/client/security.py +71 -68
  31. elasticsearch/_async/client/shutdown.py +3 -3
  32. elasticsearch/_async/client/simulate.py +1 -1
  33. elasticsearch/_async/client/slm.py +9 -9
  34. elasticsearch/_async/client/snapshot.py +280 -130
  35. elasticsearch/_async/client/sql.py +6 -6
  36. elasticsearch/_async/client/ssl.py +1 -1
  37. elasticsearch/_async/client/synonyms.py +7 -7
  38. elasticsearch/_async/client/tasks.py +3 -3
  39. elasticsearch/_async/client/text_structure.py +4 -4
  40. elasticsearch/_async/client/transform.py +11 -11
  41. elasticsearch/_async/client/watcher.py +14 -14
  42. elasticsearch/_async/client/xpack.py +2 -2
  43. elasticsearch/_sync/client/__init__.py +62 -277
  44. elasticsearch/_sync/client/_base.py +1 -1
  45. elasticsearch/_sync/client/async_search.py +6 -10
  46. elasticsearch/_sync/client/autoscaling.py +4 -4
  47. elasticsearch/_sync/client/cat.py +26 -33
  48. elasticsearch/_sync/client/ccr.py +13 -13
  49. elasticsearch/_sync/client/cluster.py +20 -20
  50. elasticsearch/_sync/client/connector.py +44 -30
  51. elasticsearch/_sync/client/dangling_indices.py +3 -3
  52. elasticsearch/_sync/client/enrich.py +5 -5
  53. elasticsearch/_sync/client/eql.py +4 -4
  54. elasticsearch/_sync/client/esql.py +7 -11
  55. elasticsearch/_sync/client/features.py +2 -2
  56. elasticsearch/_sync/client/fleet.py +18 -20
  57. elasticsearch/_sync/client/graph.py +1 -1
  58. elasticsearch/_sync/client/ilm.py +18 -11
  59. elasticsearch/_sync/client/indices.py +75 -163
  60. elasticsearch/_sync/client/inference.py +132 -25
  61. elasticsearch/_sync/client/ingest.py +12 -12
  62. elasticsearch/_sync/client/license.py +7 -7
  63. elasticsearch/_sync/client/logstash.py +3 -3
  64. elasticsearch/_sync/client/migration.py +3 -3
  65. elasticsearch/_sync/client/ml.py +80 -85
  66. elasticsearch/_sync/client/monitoring.py +1 -1
  67. elasticsearch/_sync/client/nodes.py +8 -8
  68. elasticsearch/_sync/client/query_rules.py +8 -8
  69. elasticsearch/_sync/client/rollup.py +8 -8
  70. elasticsearch/_sync/client/search_application.py +10 -10
  71. elasticsearch/_sync/client/searchable_snapshots.py +4 -4
  72. elasticsearch/_sync/client/security.py +71 -68
  73. elasticsearch/_sync/client/shutdown.py +3 -3
  74. elasticsearch/_sync/client/simulate.py +1 -1
  75. elasticsearch/_sync/client/slm.py +9 -9
  76. elasticsearch/_sync/client/snapshot.py +280 -130
  77. elasticsearch/_sync/client/sql.py +6 -6
  78. elasticsearch/_sync/client/ssl.py +1 -1
  79. elasticsearch/_sync/client/synonyms.py +7 -7
  80. elasticsearch/_sync/client/tasks.py +3 -3
  81. elasticsearch/_sync/client/text_structure.py +4 -4
  82. elasticsearch/_sync/client/transform.py +11 -11
  83. elasticsearch/_sync/client/utils.py +0 -37
  84. elasticsearch/_sync/client/watcher.py +14 -14
  85. elasticsearch/_sync/client/xpack.py +2 -2
  86. elasticsearch/_version.py +1 -1
  87. elasticsearch/dsl/_async/search.py +7 -3
  88. elasticsearch/dsl/_sync/search.py +7 -3
  89. elasticsearch/dsl/aggs.py +11 -7
  90. elasticsearch/dsl/faceted_search_base.py +4 -4
  91. elasticsearch/dsl/field.py +139 -1
  92. elasticsearch/dsl/query.py +7 -1
  93. elasticsearch/dsl/search_base.py +16 -3
  94. elasticsearch/dsl/types.py +66 -84
  95. elasticsearch/dsl/wrappers.py +25 -0
  96. elasticsearch/exceptions.py +2 -0
  97. elasticsearch/helpers/vectorstore/_async/strategies.py +12 -12
  98. elasticsearch/helpers/vectorstore/_sync/strategies.py +12 -12
  99. {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.1.dist-info}/METADATA +17 -29
  100. elasticsearch-9.0.1.dist-info/RECORD +162 -0
  101. elasticsearch-9.0.1.dist-info/licenses/LICENSE.txt +175 -0
  102. elasticsearch-9.0.1.dist-info/licenses/NOTICE.txt +559 -0
  103. elasticsearch/transport.py +0 -57
  104. elasticsearch-8.18.0.dist-info/RECORD +0 -161
  105. {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.1.dist-info}/WHEEL +0 -0
  106. {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.1.dist-info}/licenses/LICENSE +0 -0
  107. {elasticsearch-8.18.0.dist-info → elasticsearch-9.0.1.dist-info}/licenses/NOTICE +0 -0
@@ -62,9 +62,7 @@ class EsqlClient(NamespacedClient):
62
62
  keep_alive: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
63
63
  keep_on_completion: t.Optional[bool] = None,
64
64
  locale: t.Optional[str] = None,
65
- params: t.Optional[
66
- t.Sequence[t.Union[None, bool, float, int, str, t.Any]]
67
- ] = None,
65
+ params: t.Optional[t.Sequence[t.Union[None, bool, float, int, str]]] = None,
68
66
  pretty: t.Optional[bool] = None,
69
67
  profile: t.Optional[bool] = None,
70
68
  tables: t.Optional[
@@ -83,7 +81,7 @@ class EsqlClient(NamespacedClient):
83
81
  <p>The API accepts the same parameters and request body as the synchronous query API, along with additional async related properties.</p>
84
82
 
85
83
 
86
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/esql-async-query-api.html>`_
84
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-esql-async-query>`_
87
85
 
88
86
  :param query: The ES|QL query API accepts an ES|QL query string in the query
89
87
  parameter, runs it, and returns the results.
@@ -206,7 +204,7 @@ class EsqlClient(NamespacedClient):
206
204
  </ul>
207
205
 
208
206
 
209
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/esql-async-query-delete-api.html>`_
207
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-esql-async-query-delete>`_
210
208
 
211
209
  :param id: The unique identifier of the query. A query ID is provided in the
212
210
  ES|QL async query API response for a query that does not complete in the
@@ -259,7 +257,7 @@ class EsqlClient(NamespacedClient):
259
257
  If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can retrieve the results using this API.</p>
260
258
 
261
259
 
262
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/esql-async-query-get-api.html>`_
260
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-esql-async-query-get>`_
263
261
 
264
262
  :param id: The unique identifier of the query. A query ID is provided in the
265
263
  ES|QL async query API response for a query that does not complete in the
@@ -326,7 +324,7 @@ class EsqlClient(NamespacedClient):
326
324
  If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can stop it.</p>
327
325
 
328
326
 
329
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/esql-async-query-stop-api.html>`_
327
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-esql-async-query-stop>`_
330
328
 
331
329
  :param id: The unique identifier of the query. A query ID is provided in the
332
330
  ES|QL async query API response for a query that does not complete in the
@@ -396,9 +394,7 @@ class EsqlClient(NamespacedClient):
396
394
  human: t.Optional[bool] = None,
397
395
  include_ccs_metadata: t.Optional[bool] = None,
398
396
  locale: t.Optional[str] = None,
399
- params: t.Optional[
400
- t.Sequence[t.Union[None, bool, float, int, str, t.Any]]
401
- ] = None,
397
+ params: t.Optional[t.Sequence[t.Union[None, bool, float, int, str]]] = None,
402
398
  pretty: t.Optional[bool] = None,
403
399
  profile: t.Optional[bool] = None,
404
400
  tables: t.Optional[
@@ -413,7 +409,7 @@ class EsqlClient(NamespacedClient):
413
409
  Get search results for an ES|QL (Elasticsearch query language) query.</p>
414
410
 
415
411
 
416
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/esql-rest.html>`_
412
+ `<https://www.elastic.co/docs/explore-analyze/query-filter/languages/esql-rest>`_
417
413
 
418
414
  :param query: The ES|QL query API accepts an ES|QL query string in the query
419
415
  parameter, runs it, and returns the results.
@@ -48,7 +48,7 @@ class FeaturesClient(NamespacedClient):
48
48
  In order for a feature state to be listed in this API and recognized as a valid feature state by the create snapshot API, the plugin that defines that feature must be installed on the master node.</p>
49
49
 
50
50
 
51
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-features-api.html>`_
51
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-features-get-features>`_
52
52
 
53
53
  :param master_timeout: Period to wait for a connection to the master node.
54
54
  """
@@ -102,7 +102,7 @@ class FeaturesClient(NamespacedClient):
102
102
  <p>IMPORTANT: The features installed on the node you submit this request to are the features that will be reset. Run on the master node if you have any doubts about which plugins are installed on individual nodes.</p>
103
103
 
104
104
 
105
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/reset-features-api.html>`_
105
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-features-reset-features>`_
106
106
 
107
107
  :param master_timeout: Period to wait for a connection to the master node.
108
108
  """
@@ -53,7 +53,7 @@ class FleetClient(NamespacedClient):
53
53
  This API is designed for internal use by the Fleet server project.</p>
54
54
 
55
55
 
56
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-global-checkpoints.html>`_
56
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-fleet>`_
57
57
 
58
58
  :param index: A single index or index alias that resolves to a single index.
59
59
  :param checkpoints: A comma separated list of previous global checkpoints. When
@@ -138,12 +138,13 @@ class FleetClient(NamespacedClient):
138
138
  """
139
139
  .. raw:: html
140
140
 
141
- <p>Executes several <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/fleet-search.html">fleet searches</a> with a single API request.
142
- The API follows the same structure as the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html">multi search</a> API. However, similar to the fleet search API, it
143
- supports the wait_for_checkpoints parameter.</p>
141
+ <p>Run multiple Fleet searches.
142
+ Run several Fleet searches with a single API request.
143
+ The API follows the same structure as the multi search API.
144
+ However, similar to the Fleet search API, it supports the <code>wait_for_checkpoints</code> parameter.</p>
144
145
 
145
146
 
146
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/fleet-multi-search.html>`_
147
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-fleet-msearch>`_
147
148
 
148
149
  :param searches:
149
150
  :param index: A single target to search. If the target is an index alias, it
@@ -154,9 +155,9 @@ class FleetClient(NamespacedClient):
154
155
  example, a request targeting foo*,bar* returns an error if an index starts
155
156
  with foo but no index starts with bar.
156
157
  :param allow_partial_search_results: If true, returns partial results if there
157
- are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures).
158
- If false, returns an error with no partial results. Defaults to the configured
159
- cluster setting `search.default_allow_partial_results` which is true by default.
158
+ are shard request timeouts or shard failures. If false, returns an error
159
+ with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`,
160
+ which is true by default.
160
161
  :param ccs_minimize_roundtrips: If true, network roundtrips between the coordinating
161
162
  node and remote clusters are minimized for cross-cluster search requests.
162
163
  :param expand_wildcards: Type of index that wildcard expressions can match. If
@@ -330,7 +331,6 @@ class FleetClient(NamespacedClient):
330
331
  indices_boost: t.Optional[t.Sequence[t.Mapping[str, float]]] = None,
331
332
  lenient: t.Optional[bool] = None,
332
333
  max_concurrent_shard_requests: t.Optional[int] = None,
333
- min_compatible_shard_node: t.Optional[str] = None,
334
334
  min_score: t.Optional[float] = None,
335
335
  pit: t.Optional[t.Mapping[str, t.Any]] = None,
336
336
  post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -350,7 +350,7 @@ class FleetClient(NamespacedClient):
350
350
  script_fields: t.Optional[t.Mapping[str, t.Mapping[str, t.Any]]] = None,
351
351
  scroll: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
352
352
  search_after: t.Optional[
353
- t.Sequence[t.Union[None, bool, float, int, str, t.Any]]
353
+ t.Sequence[t.Union[None, bool, float, int, str]]
354
354
  ] = None,
355
355
  search_type: t.Optional[
356
356
  t.Union[str, t.Literal["dfs_query_then_fetch", "query_then_fetch"]]
@@ -388,11 +388,12 @@ class FleetClient(NamespacedClient):
388
388
  """
389
389
  .. raw:: html
390
390
 
391
- <p>The purpose of the fleet search api is to provide a search api where the search will only be executed
392
- after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.</p>
391
+ <p>Run a Fleet search.
392
+ The purpose of the Fleet search API is to provide an API where the search will be run only
393
+ after the provided checkpoint has been processed and is visible for searches inside of Elasticsearch.</p>
393
394
 
394
395
 
395
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/fleet-search.html>`_
396
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-fleet-search>`_
396
397
 
397
398
  :param index: A single target to search. If the target is an index alias, it
398
399
  must resolve to a single index.
@@ -400,9 +401,9 @@ class FleetClient(NamespacedClient):
400
401
  :param aggs:
401
402
  :param allow_no_indices:
402
403
  :param allow_partial_search_results: If true, returns partial results if there
403
- are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures).
404
- If false, returns an error with no partial results. Defaults to the configured
405
- cluster setting `search.default_allow_partial_results` which is true by default.
404
+ are shard request timeouts or shard failures. If false, returns an error
405
+ with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`,
406
+ which is true by default.
406
407
  :param analyze_wildcard:
407
408
  :param analyzer:
408
409
  :param batched_reduce_size:
@@ -428,9 +429,8 @@ class FleetClient(NamespacedClient):
428
429
  :param indices_boost: Boosts the _score of documents from specified indices.
429
430
  :param lenient:
430
431
  :param max_concurrent_shard_requests:
431
- :param min_compatible_shard_node:
432
432
  :param min_score: Minimum _score for matching documents. Documents with a lower
433
- _score are not included in the search results.
433
+ _score are not included in search results and results collected by aggregations.
434
434
  :param pit: Limits the search to a point in time (PIT). If you provide a PIT,
435
435
  you cannot specify an <index> in the request path.
436
436
  :param post_filter:
@@ -543,8 +543,6 @@ class FleetClient(NamespacedClient):
543
543
  __query["lenient"] = lenient
544
544
  if max_concurrent_shard_requests is not None:
545
545
  __query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
546
- if min_compatible_shard_node is not None:
547
- __query["min_compatible_shard_node"] = min_compatible_shard_node
548
546
  if pre_filter_shard_size is not None:
549
547
  __query["pre_filter_shard_size"] = pre_filter_shard_size
550
548
  if preference is not None:
@@ -55,7 +55,7 @@ class GraphClient(NamespacedClient):
55
55
  You can exclude vertices that have already been returned.</p>
56
56
 
57
57
 
58
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/graph-explore-api.html>`_
58
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-graph>`_
59
59
 
60
60
  :param index: Name of the index.
61
61
  :param connections: Specifies or more fields from which you want to extract terms
@@ -44,7 +44,7 @@ class IlmClient(NamespacedClient):
44
44
  You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.</p>
45
45
 
46
46
 
47
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-delete-lifecycle.html>`_
47
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-delete-lifecycle>`_
48
48
 
49
49
  :param name: Identifier for the policy.
50
50
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -102,7 +102,7 @@ class IlmClient(NamespacedClient):
102
102
  <p>The response indicates when the index entered each lifecycle state, provides the definition of the running phase, and information about any failures.</p>
103
103
 
104
104
 
105
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-explain-lifecycle.html>`_
105
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-explain-lifecycle>`_
106
106
 
107
107
  :param index: Comma-separated list of data streams, indices, and aliases to target.
108
108
  Supports wildcards (`*`). To target all data streams and indices, use `*`
@@ -163,7 +163,7 @@ class IlmClient(NamespacedClient):
163
163
  <p>Get lifecycle policies.</p>
164
164
 
165
165
 
166
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-get-lifecycle.html>`_
166
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-get-lifecycle>`_
167
167
 
168
168
  :param name: Identifier for the policy.
169
169
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -218,7 +218,7 @@ class IlmClient(NamespacedClient):
218
218
  <p>Get the current index lifecycle management status.</p>
219
219
 
220
220
 
221
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-get-status.html>`_
221
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-get-status>`_
222
222
  """
223
223
  __path_parts: t.Dict[str, str] = {}
224
224
  __path = "/_ilm/status"
@@ -252,6 +252,7 @@ class IlmClient(NamespacedClient):
252
252
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
253
253
  human: t.Optional[bool] = None,
254
254
  legacy_template_to_delete: t.Optional[str] = None,
255
+ master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
255
256
  node_attribute: t.Optional[str] = None,
256
257
  pretty: t.Optional[bool] = None,
257
258
  body: t.Optional[t.Dict[str, t.Any]] = None,
@@ -274,12 +275,16 @@ class IlmClient(NamespacedClient):
274
275
  Use the stop ILM and get ILM status APIs to wait until the reported operation mode is <code>STOPPED</code>.</p>
275
276
 
276
277
 
277
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-migrate-to-data-tiers.html>`_
278
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-migrate-to-data-tiers>`_
278
279
 
279
280
  :param dry_run: If true, simulates the migration from node attributes based allocation
280
281
  filters to data tiers, but does not perform the migration. This provides
281
282
  a way to retrieve the indices and ILM policies that need to be migrated.
282
283
  :param legacy_template_to_delete:
284
+ :param master_timeout: The period to wait for a connection to the master node.
285
+ If no response is received before the timeout expires, the request fails
286
+ and returns an error. It can also be set to `-1` to indicate that the request
287
+ should never timeout.
283
288
  :param node_attribute:
284
289
  """
285
290
  __path_parts: t.Dict[str, str] = {}
@@ -294,6 +299,8 @@ class IlmClient(NamespacedClient):
294
299
  __query["filter_path"] = filter_path
295
300
  if human is not None:
296
301
  __query["human"] = human
302
+ if master_timeout is not None:
303
+ __query["master_timeout"] = master_timeout
297
304
  if pretty is not None:
298
305
  __query["pretty"] = pretty
299
306
  if not __body:
@@ -347,7 +354,7 @@ class IlmClient(NamespacedClient):
347
354
  An index cannot move to a step that is not part of its policy.</p>
348
355
 
349
356
 
350
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-move-to-step.html>`_
357
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-move-to-step>`_
351
358
 
352
359
  :param index: The name of the index whose lifecycle step is to change
353
360
  :param current_step: The step that the index is expected to be in.
@@ -415,7 +422,7 @@ class IlmClient(NamespacedClient):
415
422
  <p>NOTE: Only the latest version of the policy is stored, you cannot revert to previous versions.</p>
416
423
 
417
424
 
418
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-put-lifecycle.html>`_
425
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-put-lifecycle>`_
419
426
 
420
427
  :param name: Identifier for the policy.
421
428
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -479,7 +486,7 @@ class IlmClient(NamespacedClient):
479
486
  It also stops managing the indices.</p>
480
487
 
481
488
 
482
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-remove-policy.html>`_
489
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-remove-policy>`_
483
490
 
484
491
  :param index: The name of the index to remove policy on
485
492
  """
@@ -525,7 +532,7 @@ class IlmClient(NamespacedClient):
525
532
  Use the explain lifecycle state API to determine whether an index is in the ERROR step.</p>
526
533
 
527
534
 
528
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-retry-policy.html>`_
535
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-retry>`_
529
536
 
530
537
  :param index: The name of the indices (comma-separated) whose failed lifecycle
531
538
  step is to be retry
@@ -573,7 +580,7 @@ class IlmClient(NamespacedClient):
573
580
  Restarting ILM is necessary only when it has been stopped using the stop ILM API.</p>
574
581
 
575
582
 
576
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-start.html>`_
583
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-start>`_
577
584
 
578
585
  :param master_timeout: Period to wait for a connection to the master node. If
579
586
  no response is received before the timeout expires, the request fails and
@@ -627,7 +634,7 @@ class IlmClient(NamespacedClient):
627
634
  Use the get ILM status API to check whether ILM is running.</p>
628
635
 
629
636
 
630
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-stop.html>`_
637
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ilm-stop>`_
631
638
 
632
639
  :param master_timeout: Period to wait for a connection to the master node. If
633
640
  no response is received before the timeout expires, the request fails and