elasticsearch 8.17.2__py3-none-any.whl → 9.0.0__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 (138) hide show
  1. elasticsearch/_async/client/__init__.py +192 -312
  2. elasticsearch/_async/client/_base.py +1 -2
  3. elasticsearch/_async/client/async_search.py +14 -14
  4. elasticsearch/_async/client/autoscaling.py +4 -4
  5. elasticsearch/_async/client/cat.py +26 -33
  6. elasticsearch/_async/client/ccr.py +186 -72
  7. elasticsearch/_async/client/cluster.py +42 -23
  8. elasticsearch/_async/client/connector.py +44 -30
  9. elasticsearch/_async/client/dangling_indices.py +3 -3
  10. elasticsearch/_async/client/enrich.py +26 -5
  11. elasticsearch/_async/client/eql.py +32 -4
  12. elasticsearch/_async/client/esql.py +64 -12
  13. elasticsearch/_async/client/features.py +12 -2
  14. elasticsearch/_async/client/fleet.py +23 -19
  15. elasticsearch/_async/client/graph.py +1 -1
  16. elasticsearch/_async/client/ilm.py +30 -22
  17. elasticsearch/_async/client/indices.py +435 -231
  18. elasticsearch/_async/client/inference.py +1906 -61
  19. elasticsearch/_async/client/ingest.py +32 -38
  20. elasticsearch/_async/client/license.py +51 -16
  21. elasticsearch/_async/client/logstash.py +3 -3
  22. elasticsearch/_async/client/migration.py +3 -3
  23. elasticsearch/_async/client/ml.py +145 -121
  24. elasticsearch/_async/client/monitoring.py +1 -1
  25. elasticsearch/_async/client/nodes.py +10 -28
  26. elasticsearch/_async/client/query_rules.py +8 -8
  27. elasticsearch/_async/client/rollup.py +8 -8
  28. elasticsearch/_async/client/search_application.py +13 -13
  29. elasticsearch/_async/client/searchable_snapshots.py +4 -4
  30. elasticsearch/_async/client/security.py +78 -75
  31. elasticsearch/_async/client/shutdown.py +3 -10
  32. elasticsearch/_async/client/simulate.py +6 -6
  33. elasticsearch/_async/client/slm.py +9 -9
  34. elasticsearch/_async/client/snapshot.py +280 -134
  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 -9
  39. elasticsearch/_async/client/text_structure.py +4 -4
  40. elasticsearch/_async/client/transform.py +30 -28
  41. elasticsearch/_async/client/watcher.py +23 -15
  42. elasticsearch/_async/client/xpack.py +2 -2
  43. elasticsearch/_async/helpers.py +0 -1
  44. elasticsearch/_sync/client/__init__.py +192 -312
  45. elasticsearch/_sync/client/_base.py +1 -2
  46. elasticsearch/_sync/client/async_search.py +14 -14
  47. elasticsearch/_sync/client/autoscaling.py +4 -4
  48. elasticsearch/_sync/client/cat.py +26 -33
  49. elasticsearch/_sync/client/ccr.py +186 -72
  50. elasticsearch/_sync/client/cluster.py +42 -23
  51. elasticsearch/_sync/client/connector.py +44 -30
  52. elasticsearch/_sync/client/dangling_indices.py +3 -3
  53. elasticsearch/_sync/client/enrich.py +26 -5
  54. elasticsearch/_sync/client/eql.py +32 -4
  55. elasticsearch/_sync/client/esql.py +64 -12
  56. elasticsearch/_sync/client/features.py +12 -2
  57. elasticsearch/_sync/client/fleet.py +23 -19
  58. elasticsearch/_sync/client/graph.py +1 -1
  59. elasticsearch/_sync/client/ilm.py +30 -22
  60. elasticsearch/_sync/client/indices.py +435 -231
  61. elasticsearch/_sync/client/inference.py +1906 -61
  62. elasticsearch/_sync/client/ingest.py +32 -38
  63. elasticsearch/_sync/client/license.py +51 -16
  64. elasticsearch/_sync/client/logstash.py +3 -3
  65. elasticsearch/_sync/client/migration.py +3 -3
  66. elasticsearch/_sync/client/ml.py +145 -121
  67. elasticsearch/_sync/client/monitoring.py +1 -1
  68. elasticsearch/_sync/client/nodes.py +10 -28
  69. elasticsearch/_sync/client/query_rules.py +8 -8
  70. elasticsearch/_sync/client/rollup.py +8 -8
  71. elasticsearch/_sync/client/search_application.py +13 -13
  72. elasticsearch/_sync/client/searchable_snapshots.py +4 -4
  73. elasticsearch/_sync/client/security.py +78 -75
  74. elasticsearch/_sync/client/shutdown.py +3 -10
  75. elasticsearch/_sync/client/simulate.py +6 -6
  76. elasticsearch/_sync/client/slm.py +9 -9
  77. elasticsearch/_sync/client/snapshot.py +280 -134
  78. elasticsearch/_sync/client/sql.py +6 -6
  79. elasticsearch/_sync/client/ssl.py +1 -1
  80. elasticsearch/_sync/client/synonyms.py +7 -7
  81. elasticsearch/_sync/client/tasks.py +3 -9
  82. elasticsearch/_sync/client/text_structure.py +4 -4
  83. elasticsearch/_sync/client/transform.py +30 -28
  84. elasticsearch/_sync/client/utils.py +0 -40
  85. elasticsearch/_sync/client/watcher.py +23 -15
  86. elasticsearch/_sync/client/xpack.py +2 -2
  87. elasticsearch/_version.py +1 -1
  88. elasticsearch/dsl/__init__.py +203 -0
  89. elasticsearch/dsl/_async/__init__.py +16 -0
  90. elasticsearch/dsl/_async/document.py +522 -0
  91. elasticsearch/dsl/_async/faceted_search.py +50 -0
  92. elasticsearch/dsl/_async/index.py +639 -0
  93. elasticsearch/dsl/_async/mapping.py +49 -0
  94. elasticsearch/dsl/_async/search.py +237 -0
  95. elasticsearch/dsl/_async/update_by_query.py +47 -0
  96. elasticsearch/dsl/_sync/__init__.py +16 -0
  97. elasticsearch/dsl/_sync/document.py +514 -0
  98. elasticsearch/dsl/_sync/faceted_search.py +50 -0
  99. elasticsearch/dsl/_sync/index.py +597 -0
  100. elasticsearch/dsl/_sync/mapping.py +49 -0
  101. elasticsearch/dsl/_sync/search.py +230 -0
  102. elasticsearch/dsl/_sync/update_by_query.py +45 -0
  103. elasticsearch/dsl/aggs.py +3734 -0
  104. elasticsearch/dsl/analysis.py +341 -0
  105. elasticsearch/dsl/async_connections.py +37 -0
  106. elasticsearch/dsl/connections.py +142 -0
  107. elasticsearch/dsl/document.py +20 -0
  108. elasticsearch/dsl/document_base.py +444 -0
  109. elasticsearch/dsl/exceptions.py +32 -0
  110. elasticsearch/dsl/faceted_search.py +28 -0
  111. elasticsearch/dsl/faceted_search_base.py +489 -0
  112. elasticsearch/dsl/field.py +4392 -0
  113. elasticsearch/dsl/function.py +180 -0
  114. elasticsearch/dsl/index.py +23 -0
  115. elasticsearch/dsl/index_base.py +178 -0
  116. elasticsearch/dsl/mapping.py +19 -0
  117. elasticsearch/dsl/mapping_base.py +219 -0
  118. elasticsearch/dsl/query.py +2822 -0
  119. elasticsearch/dsl/response/__init__.py +388 -0
  120. elasticsearch/dsl/response/aggs.py +100 -0
  121. elasticsearch/dsl/response/hit.py +53 -0
  122. elasticsearch/dsl/search.py +20 -0
  123. elasticsearch/dsl/search_base.py +1053 -0
  124. elasticsearch/dsl/serializer.py +34 -0
  125. elasticsearch/dsl/types.py +6453 -0
  126. elasticsearch/dsl/update_by_query.py +19 -0
  127. elasticsearch/dsl/update_by_query_base.py +149 -0
  128. elasticsearch/dsl/utils.py +687 -0
  129. elasticsearch/dsl/wrappers.py +144 -0
  130. elasticsearch/helpers/vectorstore/_async/strategies.py +12 -12
  131. elasticsearch/helpers/vectorstore/_sync/strategies.py +12 -12
  132. {elasticsearch-8.17.2.dist-info → elasticsearch-9.0.0.dist-info}/METADATA +12 -15
  133. elasticsearch-9.0.0.dist-info/RECORD +160 -0
  134. elasticsearch/transport.py +0 -57
  135. elasticsearch-8.17.2.dist-info/RECORD +0 -119
  136. {elasticsearch-8.17.2.dist-info → elasticsearch-9.0.0.dist-info}/WHEEL +0 -0
  137. {elasticsearch-8.17.2.dist-info → elasticsearch-9.0.0.dist-info}/licenses/LICENSE +0 -0
  138. {elasticsearch-8.17.2.dist-info → elasticsearch-9.0.0.dist-info}/licenses/NOTICE +0 -0
@@ -174,7 +174,7 @@ def create_sniff_callback(
174
174
  "GET",
175
175
  "/_nodes/_all/http",
176
176
  headers={
177
- "accept": "application/vnd.elasticsearch+json; compatible-with=8"
177
+ "accept": "application/vnd.elasticsearch+json; compatible-with=9"
178
178
  },
179
179
  request_timeout=(
180
180
  sniff_options.sniff_timeout
@@ -298,7 +298,6 @@ class BaseClient:
298
298
  def mimetype_header_to_compat(header: str) -> None:
299
299
  # Converts all parts of a Accept/Content-Type headers
300
300
  # from application/X -> application/vnd.elasticsearch+X
301
- nonlocal request_headers
302
301
  mimetype = request_headers.get(header, None)
303
302
  if mimetype:
304
303
  request_headers[header] = _COMPAT_MIMETYPE_RE.sub(
@@ -44,7 +44,7 @@ class AsyncSearchClient(NamespacedClient):
44
44
  If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the <code>cancel_task</code> cluster privilege.</p>
45
45
 
46
46
 
47
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
47
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-async-search-submit>`_
48
48
 
49
49
  :param id: A unique identifier for the async search.
50
50
  """
@@ -94,11 +94,11 @@ class AsyncSearchClient(NamespacedClient):
94
94
  If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.</p>
95
95
 
96
96
 
97
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
97
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-async-search-submit>`_
98
98
 
99
99
  :param id: A unique identifier for the async search.
100
- :param keep_alive: Specifies how long the async search should be available in
101
- the cluster. When not specified, the `keep_alive` set with the corresponding
100
+ :param keep_alive: The length of time that the async search should be available
101
+ in the cluster. When not specified, the `keep_alive` set with the corresponding
102
102
  submit async request will be used. Otherwise, it is possible to override
103
103
  the value and extend the validity of the request. When this period expires,
104
104
  the search, if still running, is cancelled. If the search is completed, its
@@ -157,13 +157,17 @@ class AsyncSearchClient(NamespacedClient):
157
157
 
158
158
  <p>Get the async search status.</p>
159
159
  <p>Get the status of a previously submitted async search request given its identifier, without retrieving search results.
160
- If the Elasticsearch security features are enabled, use of this API is restricted to the <code>monitoring_user</code> role.</p>
160
+ If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:</p>
161
+ <ul>
162
+ <li>The user or API key that submitted the original async search request.</li>
163
+ <li>Users that have the <code>monitor</code> cluster privilege or greater privileges.</li>
164
+ </ul>
161
165
 
162
166
 
163
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
167
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-async-search-submit>`_
164
168
 
165
169
  :param id: A unique identifier for the async search.
166
- :param keep_alive: Specifies how long the async search needs to be available.
170
+ :param keep_alive: The length of time that the async search needs to be available.
167
171
  Ongoing async searches and any saved search results are deleted after this
168
172
  period.
169
173
  """
@@ -277,7 +281,6 @@ class AsyncSearchClient(NamespacedClient):
277
281
  ] = None,
278
282
  lenient: t.Optional[bool] = None,
279
283
  max_concurrent_shard_requests: t.Optional[int] = None,
280
- min_compatible_shard_node: t.Optional[str] = None,
281
284
  min_score: t.Optional[float] = None,
282
285
  pit: t.Optional[t.Mapping[str, t.Any]] = None,
283
286
  post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -295,7 +298,7 @@ class AsyncSearchClient(NamespacedClient):
295
298
  runtime_mappings: t.Optional[t.Mapping[str, t.Mapping[str, t.Any]]] = None,
296
299
  script_fields: t.Optional[t.Mapping[str, t.Mapping[str, t.Any]]] = None,
297
300
  search_after: t.Optional[
298
- t.Sequence[t.Union[None, bool, float, int, str, t.Any]]
301
+ t.Sequence[t.Union[None, bool, float, int, str]]
299
302
  ] = None,
300
303
  search_type: t.Optional[
301
304
  t.Union[str, t.Literal["dfs_query_then_fetch", "query_then_fetch"]]
@@ -342,7 +345,7 @@ class AsyncSearchClient(NamespacedClient):
342
345
  The maximum allowed size for a stored async search response can be set by changing the <code>search.max_async_search_response_size</code> cluster level setting.</p>
343
346
 
344
347
 
345
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
348
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-async-search-submit>`_
346
349
 
347
350
  :param index: A comma-separated list of index names to search; use `_all` or
348
351
  empty string to perform the operation on all indices
@@ -397,9 +400,8 @@ class AsyncSearchClient(NamespacedClient):
397
400
  per node this search executes concurrently. This value should be used to
398
401
  limit the impact of the search on the cluster in order to limit the number
399
402
  of concurrent shard requests
400
- :param min_compatible_shard_node:
401
403
  :param min_score: Minimum _score for matching documents. Documents with a lower
402
- _score are not included in the search results.
404
+ _score are not included in search results and results collected by aggregations.
403
405
  :param pit: Limits the search to a point in time (PIT). If you provide a PIT,
404
406
  you cannot specify an <index> in the request path.
405
407
  :param post_filter:
@@ -522,8 +524,6 @@ class AsyncSearchClient(NamespacedClient):
522
524
  __query["lenient"] = lenient
523
525
  if max_concurrent_shard_requests is not None:
524
526
  __query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
525
- if min_compatible_shard_node is not None:
526
- __query["min_compatible_shard_node"] = min_compatible_shard_node
527
527
  if preference is not None:
528
528
  __query["preference"] = preference
529
529
  if pretty is not None:
@@ -44,7 +44,7 @@ class AutoscalingClient(NamespacedClient):
44
44
  <p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
45
45
 
46
46
 
47
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-delete-autoscaling-policy.html>`_
47
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-autoscaling-delete-autoscaling-policy>`_
48
48
 
49
49
  :param name: the name of the autoscaling policy
50
50
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -104,7 +104,7 @@ class AutoscalingClient(NamespacedClient):
104
104
  Do not use this information to make autoscaling decisions.</p>
105
105
 
106
106
 
107
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
107
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-autoscaling-get-autoscaling-capacity>`_
108
108
 
109
109
  :param master_timeout: Period to wait for a connection to the master node. If
110
110
  no response is received before the timeout expires, the request fails and
@@ -151,7 +151,7 @@ class AutoscalingClient(NamespacedClient):
151
151
  <p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
152
152
 
153
153
 
154
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
154
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-autoscaling-get-autoscaling-capacity>`_
155
155
 
156
156
  :param name: the name of the autoscaling policy
157
157
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -206,7 +206,7 @@ class AutoscalingClient(NamespacedClient):
206
206
  <p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
207
207
 
208
208
 
209
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-put-autoscaling-policy.html>`_
209
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-autoscaling-put-autoscaling-policy>`_
210
210
 
211
211
  :param name: the name of the autoscaling policy
212
212
  :param policy:
@@ -50,7 +50,6 @@ class CatClient(NamespacedClient):
50
50
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
51
51
  help: t.Optional[bool] = None,
52
52
  human: t.Optional[bool] = None,
53
- local: t.Optional[bool] = None,
54
53
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
55
54
  pretty: t.Optional[bool] = None,
56
55
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
@@ -65,7 +64,7 @@ class CatClient(NamespacedClient):
65
64
  <p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.</p>
66
65
 
67
66
 
68
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-alias.html>`_
67
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-aliases>`_
69
68
 
70
69
  :param name: A comma-separated list of aliases to retrieve. Supports wildcards
71
70
  (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
@@ -78,10 +77,6 @@ class CatClient(NamespacedClient):
78
77
  :param h: List of columns to appear in the response. Supports simple wildcards.
79
78
  :param help: When set to `true` will output available columns. This option can't
80
79
  be combined with any other query string option.
81
- :param local: If `true`, the request computes the list of selected nodes from
82
- the local cluster state. If `false` the list of selected nodes are computed
83
- from the cluster state of the master node. In both cases the coordinating
84
- node will send requests for further information to each selected node.
85
80
  :param master_timeout: The period to wait for a connection to the master node.
86
81
  If the master node is not available before the timeout expires, the request
87
82
  fails and returns an error. To indicated that the request should never timeout,
@@ -113,8 +108,6 @@ class CatClient(NamespacedClient):
113
108
  __query["help"] = help
114
109
  if human is not None:
115
110
  __query["human"] = human
116
- if local is not None:
117
- __query["local"] = local
118
111
  if master_timeout is not None:
119
112
  __query["master_timeout"] = master_timeout
120
113
  if pretty is not None:
@@ -161,7 +154,7 @@ class CatClient(NamespacedClient):
161
154
  <p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
162
155
 
163
156
 
164
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-allocation.html>`_
157
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-allocation>`_
165
158
 
166
159
  :param node_id: A comma-separated list of node identifiers or names used to limit
167
160
  the returned information.
@@ -250,7 +243,7 @@ class CatClient(NamespacedClient):
250
243
  They are not intended for use by applications. For application consumption, use the get component template API.</p>
251
244
 
252
245
 
253
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-component-templates.html>`_
246
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-component-templates>`_
254
247
 
255
248
  :param name: The name of the component template. It accepts wildcard expressions.
256
249
  If it is omitted, all component templates are returned.
@@ -334,7 +327,7 @@ class CatClient(NamespacedClient):
334
327
  They are not intended for use by applications. For application consumption, use the count API.</p>
335
328
 
336
329
 
337
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-count.html>`_
330
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-count>`_
338
331
 
339
332
  :param index: A comma-separated list of data streams, indices, and aliases used
340
333
  to limit the request. It supports wildcards (`*`). To target all data streams
@@ -412,7 +405,7 @@ class CatClient(NamespacedClient):
412
405
  They are not intended for use by applications. For application consumption, use the nodes stats API.</p>
413
406
 
414
407
 
415
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-fielddata.html>`_
408
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-fielddata>`_
416
409
 
417
410
  :param fields: Comma-separated list of fields used to limit returned information.
418
411
  To retrieve all fields, omit this parameter.
@@ -498,7 +491,7 @@ class CatClient(NamespacedClient):
498
491
  You also can use the API to track the recovery of a large cluster over a longer period of time.</p>
499
492
 
500
493
 
501
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-health.html>`_
494
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-health>`_
502
495
 
503
496
  :param format: Specifies the format to return the columnar data in, can be set
504
497
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -556,7 +549,7 @@ class CatClient(NamespacedClient):
556
549
  <p>Get help for the CAT APIs.</p>
557
550
 
558
551
 
559
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
552
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-cat>`_
560
553
  """
561
554
  __path_parts: t.Dict[str, str] = {}
562
555
  __path = "/_cat"
@@ -623,7 +616,7 @@ class CatClient(NamespacedClient):
623
616
  They are not intended for use by applications. For application consumption, use an index endpoint.</p>
624
617
 
625
618
 
626
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-indices.html>`_
619
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-indices>`_
627
620
 
628
621
  :param index: Comma-separated list of data streams, indices, and aliases used
629
622
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -721,7 +714,7 @@ class CatClient(NamespacedClient):
721
714
  <p>IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
722
715
 
723
716
 
724
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-master.html>`_
717
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-master>`_
725
718
 
726
719
  :param format: Specifies the format to return the columnar data in, can be set
727
720
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -899,7 +892,7 @@ class CatClient(NamespacedClient):
899
892
  application consumption, use the get data frame analytics jobs statistics API.</p>
900
893
 
901
894
 
902
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-dfanalytics.html>`_
895
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-ml-data-frame-analytics>`_
903
896
 
904
897
  :param id: The ID of the data frame analytics to fetch
905
898
  :param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -1067,7 +1060,7 @@ class CatClient(NamespacedClient):
1067
1060
  application consumption, use the get datafeed statistics API.</p>
1068
1061
 
1069
1062
 
1070
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-datafeeds.html>`_
1063
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-ml-datafeeds>`_
1071
1064
 
1072
1065
  :param datafeed_id: A numerical character string that uniquely identifies the
1073
1066
  datafeed.
@@ -1433,7 +1426,7 @@ class CatClient(NamespacedClient):
1433
1426
  application consumption, use the get anomaly detection job statistics API.</p>
1434
1427
 
1435
1428
 
1436
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-anomaly-detectors.html>`_
1429
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-ml-jobs>`_
1437
1430
 
1438
1431
  :param job_id: Identifier for the anomaly detection job.
1439
1432
  :param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1618,7 +1611,7 @@ class CatClient(NamespacedClient):
1618
1611
  application consumption, use the get trained models statistics API.</p>
1619
1612
 
1620
1613
 
1621
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-trained-model.html>`_
1614
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-ml-trained-models>`_
1622
1615
 
1623
1616
  :param model_id: A unique identifier for the trained model.
1624
1617
  :param allow_no_match: Specifies what to do when the request: contains wildcard
@@ -1711,7 +1704,7 @@ class CatClient(NamespacedClient):
1711
1704
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
1712
1705
 
1713
1706
 
1714
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodeattrs.html>`_
1707
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-nodeattrs>`_
1715
1708
 
1716
1709
  :param format: Specifies the format to return the columnar data in, can be set
1717
1710
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1794,7 +1787,7 @@ class CatClient(NamespacedClient):
1794
1787
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
1795
1788
 
1796
1789
 
1797
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodes.html>`_
1790
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-nodes>`_
1798
1791
 
1799
1792
  :param bytes: The unit used to display byte values.
1800
1793
  :param format: Specifies the format to return the columnar data in, can be set
@@ -1881,7 +1874,7 @@ class CatClient(NamespacedClient):
1881
1874
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.</p>
1882
1875
 
1883
1876
 
1884
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-pending-tasks.html>`_
1877
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-pending-tasks>`_
1885
1878
 
1886
1879
  :param format: Specifies the format to return the columnar data in, can be set
1887
1880
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1961,7 +1954,7 @@ class CatClient(NamespacedClient):
1961
1954
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
1962
1955
 
1963
1956
 
1964
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-plugins.html>`_
1957
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-plugins>`_
1965
1958
 
1966
1959
  :param format: Specifies the format to return the columnar data in, can be set
1967
1960
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2049,7 +2042,7 @@ class CatClient(NamespacedClient):
2049
2042
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.</p>
2050
2043
 
2051
2044
 
2052
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-recovery.html>`_
2045
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-recovery>`_
2053
2046
 
2054
2047
  :param index: A comma-separated list of data streams, indices, and aliases used
2055
2048
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2137,7 +2130,7 @@ class CatClient(NamespacedClient):
2137
2130
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.</p>
2138
2131
 
2139
2132
 
2140
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-repositories.html>`_
2133
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-repositories>`_
2141
2134
 
2142
2135
  :param format: Specifies the format to return the columnar data in, can be set
2143
2136
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2218,7 +2211,7 @@ class CatClient(NamespacedClient):
2218
2211
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.</p>
2219
2212
 
2220
2213
 
2221
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-segments.html>`_
2214
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-segments>`_
2222
2215
 
2223
2216
  :param index: A comma-separated list of data streams, indices, and aliases used
2224
2217
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2312,7 +2305,7 @@ class CatClient(NamespacedClient):
2312
2305
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
2313
2306
 
2314
2307
 
2315
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-shards.html>`_
2308
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-shards>`_
2316
2309
 
2317
2310
  :param index: A comma-separated list of data streams, indices, and aliases used
2318
2311
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2401,7 +2394,7 @@ class CatClient(NamespacedClient):
2401
2394
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.</p>
2402
2395
 
2403
2396
 
2404
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-snapshots.html>`_
2397
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-snapshots>`_
2405
2398
 
2406
2399
  :param repository: A comma-separated list of snapshot repositories used to limit
2407
2400
  the request. Accepts wildcard expressions. `_all` returns all repositories.
@@ -2494,7 +2487,7 @@ class CatClient(NamespacedClient):
2494
2487
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.</p>
2495
2488
 
2496
2489
 
2497
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/tasks.html>`_
2490
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-tasks>`_
2498
2491
 
2499
2492
  :param actions: The task action names, which are used to limit the response.
2500
2493
  :param detailed: If `true`, the response includes detailed information about
@@ -2588,7 +2581,7 @@ class CatClient(NamespacedClient):
2588
2581
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.</p>
2589
2582
 
2590
2583
 
2591
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-templates.html>`_
2584
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-templates>`_
2592
2585
 
2593
2586
  :param name: The name of the template to return. Accepts wildcard expressions.
2594
2587
  If omitted, all templates are returned.
@@ -2676,7 +2669,7 @@ class CatClient(NamespacedClient):
2676
2669
  IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.</p>
2677
2670
 
2678
2671
 
2679
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-thread-pool.html>`_
2672
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-thread-pool>`_
2680
2673
 
2681
2674
  :param thread_pool_patterns: A comma-separated list of thread pool names used
2682
2675
  to limit the request. Accepts wildcard expressions.
@@ -2933,7 +2926,7 @@ class CatClient(NamespacedClient):
2933
2926
  application consumption, use the get transform statistics API.</p>
2934
2927
 
2935
2928
 
2936
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-transforms.html>`_
2929
+ `<https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-cat-transforms>`_
2937
2930
 
2938
2931
  :param transform_id: A transform identifier or a wildcard expression. If you
2939
2932
  do not specify one of these options, the API returns information for all