elasticsearch9 9.2.0__py3-none-any.whl → 9.3.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 (125) hide show
  1. elasticsearch9/_async/client/__init__.py +108 -85
  2. elasticsearch9/_async/client/async_search.py +7 -6
  3. elasticsearch9/_async/client/autoscaling.py +15 -4
  4. elasticsearch9/_async/client/cat.py +203 -10
  5. elasticsearch9/_async/client/ccr.py +10 -10
  6. elasticsearch9/_async/client/cluster.py +98 -66
  7. elasticsearch9/_async/client/connector.py +42 -41
  8. elasticsearch9/_async/client/dangling_indices.py +8 -12
  9. elasticsearch9/_async/client/enrich.py +10 -10
  10. elasticsearch9/_async/client/eql.py +17 -16
  11. elasticsearch9/_async/client/esql.py +173 -24
  12. elasticsearch9/_async/client/features.py +6 -6
  13. elasticsearch9/_async/client/fleet.py +8 -8
  14. elasticsearch9/_async/client/graph.py +3 -3
  15. elasticsearch9/_async/client/ilm.py +18 -18
  16. elasticsearch9/_async/client/indices.py +564 -149
  17. elasticsearch9/_async/client/inference.py +374 -64
  18. elasticsearch9/_async/client/ingest.py +9 -9
  19. elasticsearch9/_async/client/license.py +5 -7
  20. elasticsearch9/_async/client/logstash.py +4 -4
  21. elasticsearch9/_async/client/migration.py +6 -6
  22. elasticsearch9/_async/client/ml.py +132 -88
  23. elasticsearch9/_async/client/monitoring.py +4 -3
  24. elasticsearch9/_async/client/nodes.py +182 -20
  25. elasticsearch9/_async/client/project.py +13 -4
  26. elasticsearch9/_async/client/query_rules.py +16 -16
  27. elasticsearch9/_async/client/rollup.py +21 -21
  28. elasticsearch9/_async/client/search_application.py +19 -19
  29. elasticsearch9/_async/client/searchable_snapshots.py +10 -10
  30. elasticsearch9/_async/client/security.py +34 -10
  31. elasticsearch9/_async/client/shutdown.py +15 -4
  32. elasticsearch9/_async/client/simulate.py +4 -4
  33. elasticsearch9/_async/client/slm.py +17 -17
  34. elasticsearch9/_async/client/snapshot.py +21 -21
  35. elasticsearch9/_async/client/sql.py +17 -16
  36. elasticsearch9/_async/client/streams.py +6 -7
  37. elasticsearch9/_async/client/synonyms.py +10 -10
  38. elasticsearch9/_async/client/tasks.py +8 -8
  39. elasticsearch9/_async/client/text_structure.py +16 -12
  40. elasticsearch9/_async/client/transform.py +51 -12
  41. elasticsearch9/_async/client/utils.py +4 -2
  42. elasticsearch9/_async/client/watcher.py +26 -26
  43. elasticsearch9/_async/client/xpack.py +6 -5
  44. elasticsearch9/_sync/client/__init__.py +110 -85
  45. elasticsearch9/_sync/client/async_search.py +7 -6
  46. elasticsearch9/_sync/client/autoscaling.py +15 -4
  47. elasticsearch9/_sync/client/cat.py +203 -10
  48. elasticsearch9/_sync/client/ccr.py +10 -10
  49. elasticsearch9/_sync/client/cluster.py +98 -66
  50. elasticsearch9/_sync/client/connector.py +42 -41
  51. elasticsearch9/_sync/client/dangling_indices.py +8 -12
  52. elasticsearch9/_sync/client/enrich.py +10 -10
  53. elasticsearch9/_sync/client/eql.py +17 -16
  54. elasticsearch9/_sync/client/esql.py +173 -24
  55. elasticsearch9/_sync/client/features.py +6 -6
  56. elasticsearch9/_sync/client/fleet.py +8 -8
  57. elasticsearch9/_sync/client/graph.py +3 -3
  58. elasticsearch9/_sync/client/ilm.py +18 -18
  59. elasticsearch9/_sync/client/indices.py +564 -149
  60. elasticsearch9/_sync/client/inference.py +374 -64
  61. elasticsearch9/_sync/client/ingest.py +9 -9
  62. elasticsearch9/_sync/client/license.py +5 -7
  63. elasticsearch9/_sync/client/logstash.py +4 -4
  64. elasticsearch9/_sync/client/migration.py +6 -6
  65. elasticsearch9/_sync/client/ml.py +132 -88
  66. elasticsearch9/_sync/client/monitoring.py +4 -3
  67. elasticsearch9/_sync/client/nodes.py +182 -20
  68. elasticsearch9/_sync/client/project.py +13 -4
  69. elasticsearch9/_sync/client/project_routing.py +264 -0
  70. elasticsearch9/_sync/client/query_rules.py +16 -16
  71. elasticsearch9/_sync/client/rollup.py +21 -21
  72. elasticsearch9/_sync/client/search_application.py +19 -19
  73. elasticsearch9/_sync/client/searchable_snapshots.py +10 -10
  74. elasticsearch9/_sync/client/security.py +34 -10
  75. elasticsearch9/_sync/client/shutdown.py +15 -4
  76. elasticsearch9/_sync/client/simulate.py +4 -4
  77. elasticsearch9/_sync/client/slm.py +17 -17
  78. elasticsearch9/_sync/client/snapshot.py +21 -21
  79. elasticsearch9/_sync/client/sql.py +17 -16
  80. elasticsearch9/_sync/client/streams.py +6 -7
  81. elasticsearch9/_sync/client/synonyms.py +10 -10
  82. elasticsearch9/_sync/client/tasks.py +8 -8
  83. elasticsearch9/_sync/client/text_structure.py +16 -12
  84. elasticsearch9/_sync/client/transform.py +51 -12
  85. elasticsearch9/_sync/client/utils.py +16 -2
  86. elasticsearch9/_sync/client/watcher.py +26 -26
  87. elasticsearch9/_sync/client/xpack.py +6 -5
  88. elasticsearch9/_version.py +2 -2
  89. elasticsearch9/dsl/__init__.py +4 -0
  90. elasticsearch9/dsl/_async/document.py +4 -5
  91. elasticsearch9/dsl/_async/index.py +1 -1
  92. elasticsearch9/dsl/_async/search.py +2 -3
  93. elasticsearch9/dsl/_sync/document.py +4 -5
  94. elasticsearch9/dsl/_sync/index.py +1 -1
  95. elasticsearch9/dsl/_sync/search.py +2 -3
  96. elasticsearch9/dsl/aggs.py +9 -9
  97. elasticsearch9/dsl/async_connections.py +1 -2
  98. elasticsearch9/dsl/connections.py +1 -2
  99. elasticsearch9/dsl/document_base.py +1 -1
  100. elasticsearch9/dsl/field.py +90 -6
  101. elasticsearch9/dsl/pydantic.py +1 -1
  102. elasticsearch9/dsl/query.py +25 -2
  103. elasticsearch9/dsl/response/__init__.py +2 -0
  104. elasticsearch9/dsl/serializer.py +1 -2
  105. elasticsearch9/dsl/types.py +63 -8
  106. elasticsearch9/dsl/utils.py +12 -4
  107. elasticsearch9/esql/esql.py +1 -1
  108. elasticsearch9/esql/functions.py +926 -252
  109. elasticsearch9/helpers/__init__.py +2 -0
  110. elasticsearch9/helpers/actions.py +21 -0
  111. elasticsearch9/helpers/vectorstore/__init__.py +7 -7
  112. elasticsearch9/helpers/vectorstore/_async/_utils.py +1 -1
  113. elasticsearch9/helpers/vectorstore/_async/embedding_service.py +2 -2
  114. elasticsearch9/helpers/vectorstore/_async/strategies.py +3 -3
  115. elasticsearch9/helpers/vectorstore/_async/vectorstore.py +8 -5
  116. elasticsearch9/helpers/vectorstore/_sync/_utils.py +1 -1
  117. elasticsearch9/helpers/vectorstore/_sync/embedding_service.py +2 -2
  118. elasticsearch9/helpers/vectorstore/_sync/strategies.py +3 -3
  119. elasticsearch9/helpers/vectorstore/_sync/vectorstore.py +8 -5
  120. {elasticsearch9-9.2.0.dist-info → elasticsearch9-9.3.0.dist-info}/METADATA +2 -1
  121. elasticsearch9-9.3.0.dist-info/RECORD +169 -0
  122. {elasticsearch9-9.2.0.dist-info → elasticsearch9-9.3.0.dist-info}/WHEEL +1 -1
  123. elasticsearch9-9.2.0.dist-info/RECORD +0 -168
  124. {elasticsearch9-9.2.0.dist-info → elasticsearch9-9.3.0.dist-info}/licenses/LICENSE +0 -0
  125. {elasticsearch9-9.2.0.dist-info → elasticsearch9-9.3.0.dist-info}/licenses/NOTICE +0 -0
@@ -151,8 +151,8 @@ class IngestClient(NamespacedClient):
151
151
  """
152
152
  .. raw:: html
153
153
 
154
- <p>Delete pipelines.
155
- Delete one or more ingest pipelines.</p>
154
+ <p>Delete pipelines.</p>
155
+ <p>Delete one or more ingest pipelines.</p>
156
156
 
157
157
 
158
158
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-delete-pipeline>`_
@@ -204,8 +204,8 @@ class IngestClient(NamespacedClient):
204
204
  """
205
205
  .. raw:: html
206
206
 
207
- <p>Get GeoIP statistics.
208
- Get download statistics for GeoIP2 databases that are used with the GeoIP processor.</p>
207
+ <p>Get GeoIP statistics.</p>
208
+ <p>Get download statistics for GeoIP2 databases that are used with the GeoIP processor.</p>
209
209
 
210
210
 
211
211
  `<https://www.elastic.co/docs/reference/enrich-processor/geoip-processor>`_
@@ -355,7 +355,7 @@ class IngestClient(NamespacedClient):
355
355
  :param master_timeout: Period to wait for a connection to the master node. If
356
356
  no response is received before the timeout expires, the request fails and
357
357
  returns an error.
358
- :param summary: Return pipelines without their definitions (default: false)
358
+ :param summary: Return pipelines without their definitions
359
359
  """
360
360
  __path_parts: t.Dict[str, str]
361
361
  if id not in SKIP_IN_PATH:
@@ -399,8 +399,8 @@ class IngestClient(NamespacedClient):
399
399
  """
400
400
  .. raw:: html
401
401
 
402
- <p>Run a grok processor.
403
- Extract structured fields out of a single text field within a document.
402
+ <p>Run a grok processor.</p>
403
+ <p>Extract structured fields out of a single text field within a document.
404
404
  You must choose which field to extract matched fields from, as well as the grok pattern you expect will match.
405
405
  A grok pattern is like a regular expression that supports aliased expressions that can be reused.</p>
406
406
 
@@ -613,8 +613,8 @@ class IngestClient(NamespacedClient):
613
613
  """
614
614
  .. raw:: html
615
615
 
616
- <p>Create or update a pipeline.
617
- Changes made using this API take effect immediately.</p>
616
+ <p>Create or update a pipeline.</p>
617
+ <p>Changes made using this API take effect immediately.</p>
618
618
 
619
619
 
620
620
  `<https://www.elastic.co/docs/manage-data/ingest/transform-enrich/ingest-pipelines>`_
@@ -312,8 +312,7 @@ class LicenseClient(NamespacedClient):
312
312
 
313
313
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-post-start-basic>`_
314
314
 
315
- :param acknowledge: whether the user has acknowledged acknowledge messages (default:
316
- false)
315
+ :param acknowledge: Whether the user has acknowledged acknowledge messages
317
316
  :param master_timeout: Period to wait for a connection to the master node.
318
317
  :param timeout: Period to wait for a response. If no response is received before
319
318
  the timeout expires, the request fails and returns an error.
@@ -360,8 +359,8 @@ class LicenseClient(NamespacedClient):
360
359
  """
361
360
  .. raw:: html
362
361
 
363
- <p>Start a trial.
364
- Start a 30-day trial, which gives access to all subscription features.</p>
362
+ <p>Start a trial.</p>
363
+ <p>Start a 30-day trial, which gives access to all subscription features.</p>
365
364
  <p>NOTE: You are allowed to start a trial only if your cluster has not already activated a trial for the current major product version.
366
365
  For example, if you have already activated a trial for v8.0, you cannot start a new trial until v9.0. You can, however, request an extended trial at <a href="https://www.elastic.co/trialextension">https://www.elastic.co/trialextension</a>.</p>
367
366
  <p>To check the status of your trial, use the get trial status API.</p>
@@ -369,10 +368,9 @@ class LicenseClient(NamespacedClient):
369
368
 
370
369
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-post-start-trial>`_
371
370
 
372
- :param acknowledge: whether the user has acknowledged acknowledge messages (default:
373
- false)
371
+ :param acknowledge: Whether the user has acknowledged acknowledge messages
374
372
  :param master_timeout: Period to wait for a connection to the master node.
375
- :param type: The type of trial license to generate (default: "trial")
373
+ :param type: The type of trial license to generate
376
374
  """
377
375
  __path_parts: t.Dict[str, str] = {}
378
376
  __path = "/_license/start_trial"
@@ -38,8 +38,8 @@ class LogstashClient(NamespacedClient):
38
38
  """
39
39
  .. raw:: html
40
40
 
41
- <p>Delete a Logstash pipeline.
42
- Delete a pipeline that is used for Logstash Central Management.
41
+ <p>Delete a Logstash pipeline.</p>
42
+ <p>Delete a pipeline that is used for Logstash Central Management.
43
43
  If the request succeeds, you receive an empty response with an appropriate status code.</p>
44
44
 
45
45
 
@@ -83,8 +83,8 @@ class LogstashClient(NamespacedClient):
83
83
  """
84
84
  .. raw:: html
85
85
 
86
- <p>Get Logstash pipelines.
87
- Get pipelines that are used for Logstash Central Management.</p>
86
+ <p>Get Logstash pipelines.</p>
87
+ <p>Get pipelines that are used for Logstash Central Management.</p>
88
88
 
89
89
 
90
90
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-logstash-get-pipeline>`_
@@ -38,8 +38,8 @@ class MigrationClient(NamespacedClient):
38
38
  """
39
39
  .. raw:: html
40
40
 
41
- <p>Get deprecation information.
42
- Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.</p>
41
+ <p>Get deprecation information.</p>
42
+ <p>Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.</p>
43
43
  <p>TIP: This APIs is designed for indirect use by the Upgrade Assistant.
44
44
  You are strongly recommended to use the Upgrade Assistant.</p>
45
45
 
@@ -87,8 +87,8 @@ class MigrationClient(NamespacedClient):
87
87
  """
88
88
  .. raw:: html
89
89
 
90
- <p>Get feature migration information.
91
- Version upgrades sometimes require changes to how features store configuration information and data in system indices.
90
+ <p>Get feature migration information.</p>
91
+ <p>Version upgrades sometimes require changes to how features store configuration information and data in system indices.
92
92
  Check which features need to be migrated and the status of any migrations that are in progress.</p>
93
93
  <p>TIP: This API is designed for indirect use by the Upgrade Assistant.
94
94
  You are strongly recommended to use the Upgrade Assistant.</p>
@@ -129,8 +129,8 @@ class MigrationClient(NamespacedClient):
129
129
  """
130
130
  .. raw:: html
131
131
 
132
- <p>Start the feature migration.
133
- Version upgrades sometimes require changes to how features store configuration information and data in system indices.
132
+ <p>Start the feature migration.</p>
133
+ <p>Version upgrades sometimes require changes to how features store configuration information and data in system indices.
134
134
  This API starts the automatic migration process.</p>
135
135
  <p>Some functionality might be temporarily unavailable during the migration process.</p>
136
136
  <p>TIP: The API is designed for indirect use by the Upgrade Assistant. We strongly recommend you use the Upgrade Assistant.</p>