elasticsearch 8.18.1__py3-none-any.whl → 8.19.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 (102) hide show
  1. elasticsearch/_async/client/__init__.py +68 -82
  2. elasticsearch/_async/client/async_search.py +5 -9
  3. elasticsearch/_async/client/autoscaling.py +4 -4
  4. elasticsearch/_async/client/cat.py +744 -75
  5. elasticsearch/_async/client/ccr.py +13 -13
  6. elasticsearch/_async/client/cluster.py +38 -24
  7. elasticsearch/_async/client/connector.py +30 -30
  8. elasticsearch/_async/client/dangling_indices.py +3 -3
  9. elasticsearch/_async/client/enrich.py +5 -5
  10. elasticsearch/_async/client/eql.py +13 -5
  11. elasticsearch/_async/client/esql.py +54 -15
  12. elasticsearch/_async/client/features.py +2 -2
  13. elasticsearch/_async/client/fleet.py +13 -13
  14. elasticsearch/_async/client/graph.py +1 -1
  15. elasticsearch/_async/client/ilm.py +11 -11
  16. elasticsearch/_async/client/indices.py +132 -83
  17. elasticsearch/_async/client/inference.py +519 -112
  18. elasticsearch/_async/client/ingest.py +9 -16
  19. elasticsearch/_async/client/license.py +10 -10
  20. elasticsearch/_async/client/logstash.py +3 -3
  21. elasticsearch/_async/client/migration.py +3 -3
  22. elasticsearch/_async/client/ml.py +76 -88
  23. elasticsearch/_async/client/nodes.py +9 -8
  24. elasticsearch/_async/client/query_rules.py +8 -8
  25. elasticsearch/_async/client/rollup.py +8 -8
  26. elasticsearch/_async/client/search_application.py +10 -10
  27. elasticsearch/_async/client/searchable_snapshots.py +4 -4
  28. elasticsearch/_async/client/security.py +72 -80
  29. elasticsearch/_async/client/shutdown.py +3 -3
  30. elasticsearch/_async/client/simulate.py +1 -1
  31. elasticsearch/_async/client/slm.py +9 -9
  32. elasticsearch/_async/client/snapshot.py +286 -130
  33. elasticsearch/_async/client/sql.py +7 -7
  34. elasticsearch/_async/client/ssl.py +1 -1
  35. elasticsearch/_async/client/synonyms.py +7 -7
  36. elasticsearch/_async/client/tasks.py +3 -3
  37. elasticsearch/_async/client/text_structure.py +4 -4
  38. elasticsearch/_async/client/transform.py +69 -9
  39. elasticsearch/_async/client/xpack.py +1 -1
  40. elasticsearch/_sync/client/__init__.py +68 -82
  41. elasticsearch/_sync/client/async_search.py +5 -9
  42. elasticsearch/_sync/client/autoscaling.py +4 -4
  43. elasticsearch/_sync/client/cat.py +744 -75
  44. elasticsearch/_sync/client/ccr.py +13 -13
  45. elasticsearch/_sync/client/cluster.py +38 -24
  46. elasticsearch/_sync/client/connector.py +30 -30
  47. elasticsearch/_sync/client/dangling_indices.py +3 -3
  48. elasticsearch/_sync/client/enrich.py +5 -5
  49. elasticsearch/_sync/client/eql.py +13 -5
  50. elasticsearch/_sync/client/esql.py +54 -15
  51. elasticsearch/_sync/client/features.py +2 -2
  52. elasticsearch/_sync/client/fleet.py +13 -13
  53. elasticsearch/_sync/client/graph.py +1 -1
  54. elasticsearch/_sync/client/ilm.py +11 -11
  55. elasticsearch/_sync/client/indices.py +132 -83
  56. elasticsearch/_sync/client/inference.py +519 -112
  57. elasticsearch/_sync/client/ingest.py +9 -16
  58. elasticsearch/_sync/client/license.py +10 -10
  59. elasticsearch/_sync/client/logstash.py +3 -3
  60. elasticsearch/_sync/client/migration.py +3 -3
  61. elasticsearch/_sync/client/ml.py +76 -88
  62. elasticsearch/_sync/client/nodes.py +9 -8
  63. elasticsearch/_sync/client/query_rules.py +8 -8
  64. elasticsearch/_sync/client/rollup.py +8 -8
  65. elasticsearch/_sync/client/search_application.py +10 -10
  66. elasticsearch/_sync/client/searchable_snapshots.py +4 -4
  67. elasticsearch/_sync/client/security.py +72 -80
  68. elasticsearch/_sync/client/shutdown.py +3 -3
  69. elasticsearch/_sync/client/simulate.py +1 -1
  70. elasticsearch/_sync/client/slm.py +9 -9
  71. elasticsearch/_sync/client/snapshot.py +286 -130
  72. elasticsearch/_sync/client/sql.py +7 -7
  73. elasticsearch/_sync/client/ssl.py +1 -1
  74. elasticsearch/_sync/client/synonyms.py +7 -7
  75. elasticsearch/_sync/client/tasks.py +3 -3
  76. elasticsearch/_sync/client/text_structure.py +4 -4
  77. elasticsearch/_sync/client/transform.py +69 -9
  78. elasticsearch/_sync/client/xpack.py +1 -1
  79. elasticsearch/_version.py +1 -1
  80. elasticsearch/compat.py +5 -0
  81. elasticsearch/dsl/__init__.py +2 -1
  82. elasticsearch/dsl/_async/document.py +85 -1
  83. elasticsearch/dsl/_sync/document.py +85 -1
  84. elasticsearch/dsl/aggs.py +22 -3
  85. elasticsearch/dsl/document_base.py +219 -16
  86. elasticsearch/dsl/field.py +272 -48
  87. elasticsearch/dsl/query.py +49 -4
  88. elasticsearch/dsl/response/aggs.py +1 -1
  89. elasticsearch/dsl/types.py +247 -27
  90. elasticsearch/dsl/utils.py +2 -2
  91. elasticsearch/esql/__init__.py +19 -0
  92. elasticsearch/esql/esql.py +1156 -0
  93. elasticsearch/esql/functions.py +1750 -0
  94. elasticsearch/exceptions.py +2 -0
  95. {elasticsearch-8.18.1.dist-info → elasticsearch-8.19.1.dist-info}/METADATA +1 -5
  96. elasticsearch-8.19.1.dist-info/RECORD +164 -0
  97. elasticsearch-8.18.1.dist-info/RECORD +0 -163
  98. elasticsearch-8.18.1.dist-info/licenses/LICENSE.txt +0 -175
  99. elasticsearch-8.18.1.dist-info/licenses/NOTICE.txt +0 -559
  100. {elasticsearch-8.18.1.dist-info → elasticsearch-8.19.1.dist-info}/WHEEL +0 -0
  101. {elasticsearch-8.18.1.dist-info → elasticsearch-8.19.1.dist-info}/licenses/LICENSE +0 -0
  102. {elasticsearch-8.18.1.dist-info → elasticsearch-8.19.1.dist-info}/licenses/NOTICE +0 -0
@@ -53,7 +53,7 @@ class ShutdownClient(NamespacedClient):
53
53
  <p>If the operator privileges feature is enabled, you must be an operator to use this API.</p>
54
54
 
55
55
 
56
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/delete-shutdown.html>`_
56
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/delete-shutdown.html>`_
57
57
 
58
58
  :param node_id: The node id of node to be removed from the shutdown state
59
59
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -112,7 +112,7 @@ class ShutdownClient(NamespacedClient):
112
112
  <p>If the operator privileges feature is enabled, you must be an operator to use this API.</p>
113
113
 
114
114
 
115
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-shutdown.html>`_
115
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/get-shutdown.html>`_
116
116
 
117
117
  :param node_id: Which node for which to retrieve the shutdown status
118
118
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -187,7 +187,7 @@ class ShutdownClient(NamespacedClient):
187
187
  Monitor the node shutdown status to determine when it is safe to stop Elasticsearch.</p>
188
188
 
189
189
 
190
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/put-shutdown.html>`_
190
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/put-shutdown.html>`_
191
191
 
192
192
  :param node_id: The node identifier. This parameter is not validated against
193
193
  the cluster's active nodes. This enables you to register a node for shut
@@ -81,7 +81,7 @@ class SimulateClient(NamespacedClient):
81
81
  These will be used in place of the pipeline definitions that are already in the system. This can be used to replace existing pipeline definitions or to create new ones. The pipeline substitutions are used only within this request.</p>
82
82
 
83
83
 
84
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/simulate-ingest-api.html>`_
84
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/simulate-ingest-api.html>`_
85
85
 
86
86
  :param docs: Sample documents to test in the pipeline.
87
87
  :param index: The index to simulate ingesting into. This value can be overridden
@@ -45,7 +45,7 @@ class SlmClient(NamespacedClient):
45
45
  This operation prevents any future snapshots from being taken but does not cancel in-progress snapshots or remove previously-taken snapshots.</p>
46
46
 
47
47
 
48
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-delete-policy.html>`_
48
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-delete-policy.html>`_
49
49
 
50
50
  :param policy_id: The id of the snapshot lifecycle policy to remove
51
51
  :param master_timeout: The period to wait for a connection to the master node.
@@ -101,7 +101,7 @@ class SlmClient(NamespacedClient):
101
101
  The snapshot policy is normally applied according to its schedule, but you might want to manually run a policy before performing an upgrade or other maintenance.</p>
102
102
 
103
103
 
104
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-execute-lifecycle.html>`_
104
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-execute-lifecycle.html>`_
105
105
 
106
106
  :param policy_id: The id of the snapshot lifecycle policy to be executed
107
107
  :param master_timeout: The period to wait for a connection to the master node.
@@ -156,7 +156,7 @@ class SlmClient(NamespacedClient):
156
156
  The retention policy is normally applied according to its schedule.</p>
157
157
 
158
158
 
159
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-execute-retention.html>`_
159
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-execute-retention.html>`_
160
160
 
161
161
  :param master_timeout: The period to wait for a connection to the master node.
162
162
  If no response is received before the timeout expires, the request fails
@@ -208,7 +208,7 @@ class SlmClient(NamespacedClient):
208
208
  Get snapshot lifecycle policy definitions and information about the latest snapshot attempts.</p>
209
209
 
210
210
 
211
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-get-policy.html>`_
211
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-get-policy.html>`_
212
212
 
213
213
  :param policy_id: Comma-separated list of snapshot lifecycle policies to retrieve
214
214
  :param master_timeout: The period to wait for a connection to the master node.
@@ -265,7 +265,7 @@ class SlmClient(NamespacedClient):
265
265
  Get global and policy-level statistics about actions taken by snapshot lifecycle management.</p>
266
266
 
267
267
 
268
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-get-stats.html>`_
268
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-get-stats.html>`_
269
269
 
270
270
  :param master_timeout: Period to wait for a connection to the master node. If
271
271
  no response is received before the timeout expires, the request fails and
@@ -315,7 +315,7 @@ class SlmClient(NamespacedClient):
315
315
  <p>Get the snapshot lifecycle management status.</p>
316
316
 
317
317
 
318
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-get-status.html>`_
318
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-get-status.html>`_
319
319
 
320
320
  :param master_timeout: The period to wait for a connection to the master node.
321
321
  If no response is received before the timeout expires, the request fails
@@ -379,7 +379,7 @@ class SlmClient(NamespacedClient):
379
379
  Only the latest version of a policy is stored.</p>
380
380
 
381
381
 
382
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-put-policy.html>`_
382
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-put-policy.html>`_
383
383
 
384
384
  :param policy_id: The identifier for the snapshot lifecycle policy you want to
385
385
  create or update.
@@ -465,7 +465,7 @@ class SlmClient(NamespacedClient):
465
465
  Manually starting SLM is necessary only if it has been stopped using the stop SLM API.</p>
466
466
 
467
467
 
468
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-start.html>`_
468
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-start.html>`_
469
469
 
470
470
  :param master_timeout: The period to wait for a connection to the master node.
471
471
  If no response is received before the timeout expires, the request fails
@@ -523,7 +523,7 @@ class SlmClient(NamespacedClient):
523
523
  Use the get snapshot lifecycle management status API to see if SLM is running.</p>
524
524
 
525
525
 
526
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/slm-api-stop.html>`_
526
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/slm-api-stop.html>`_
527
527
 
528
528
  :param master_timeout: The period to wait for a connection to the master node.
529
529
  If no response is received before the timeout expires, the request fails