elasticsearch 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.
- elasticsearch/_async/client/__init__.py +108 -85
- elasticsearch/_async/client/async_search.py +7 -6
- elasticsearch/_async/client/autoscaling.py +15 -4
- elasticsearch/_async/client/cat.py +203 -10
- elasticsearch/_async/client/ccr.py +10 -10
- elasticsearch/_async/client/cluster.py +98 -66
- elasticsearch/_async/client/connector.py +42 -41
- elasticsearch/_async/client/dangling_indices.py +8 -12
- elasticsearch/_async/client/enrich.py +10 -10
- elasticsearch/_async/client/eql.py +17 -16
- elasticsearch/_async/client/esql.py +173 -24
- elasticsearch/_async/client/features.py +6 -6
- elasticsearch/_async/client/fleet.py +8 -8
- elasticsearch/_async/client/graph.py +3 -3
- elasticsearch/_async/client/ilm.py +18 -18
- elasticsearch/_async/client/indices.py +564 -149
- elasticsearch/_async/client/inference.py +374 -64
- elasticsearch/_async/client/ingest.py +9 -9
- elasticsearch/_async/client/license.py +5 -7
- elasticsearch/_async/client/logstash.py +4 -4
- elasticsearch/_async/client/migration.py +6 -6
- elasticsearch/_async/client/ml.py +132 -88
- elasticsearch/_async/client/monitoring.py +4 -3
- elasticsearch/_async/client/nodes.py +182 -20
- elasticsearch/_async/client/project.py +13 -4
- elasticsearch/_async/client/query_rules.py +16 -16
- elasticsearch/_async/client/rollup.py +21 -21
- elasticsearch/_async/client/search_application.py +19 -19
- elasticsearch/_async/client/searchable_snapshots.py +10 -10
- elasticsearch/_async/client/security.py +34 -10
- elasticsearch/_async/client/shutdown.py +15 -4
- elasticsearch/_async/client/simulate.py +4 -4
- elasticsearch/_async/client/slm.py +17 -17
- elasticsearch/_async/client/snapshot.py +21 -21
- elasticsearch/_async/client/sql.py +17 -16
- elasticsearch/_async/client/streams.py +6 -7
- elasticsearch/_async/client/synonyms.py +10 -10
- elasticsearch/_async/client/tasks.py +8 -8
- elasticsearch/_async/client/text_structure.py +16 -12
- elasticsearch/_async/client/transform.py +51 -12
- elasticsearch/_async/client/utils.py +4 -2
- elasticsearch/_async/client/watcher.py +26 -26
- elasticsearch/_async/client/xpack.py +6 -5
- elasticsearch/_sync/client/__init__.py +110 -85
- elasticsearch/_sync/client/async_search.py +7 -6
- elasticsearch/_sync/client/autoscaling.py +15 -4
- elasticsearch/_sync/client/cat.py +203 -10
- elasticsearch/_sync/client/ccr.py +10 -10
- elasticsearch/_sync/client/cluster.py +98 -66
- elasticsearch/_sync/client/connector.py +42 -41
- elasticsearch/_sync/client/dangling_indices.py +8 -12
- elasticsearch/_sync/client/enrich.py +10 -10
- elasticsearch/_sync/client/eql.py +17 -16
- elasticsearch/_sync/client/esql.py +173 -24
- elasticsearch/_sync/client/features.py +6 -6
- elasticsearch/_sync/client/fleet.py +8 -8
- elasticsearch/_sync/client/graph.py +3 -3
- elasticsearch/_sync/client/ilm.py +18 -18
- elasticsearch/_sync/client/indices.py +564 -149
- elasticsearch/_sync/client/inference.py +374 -64
- elasticsearch/_sync/client/ingest.py +9 -9
- elasticsearch/_sync/client/license.py +5 -7
- elasticsearch/_sync/client/logstash.py +4 -4
- elasticsearch/_sync/client/migration.py +6 -6
- elasticsearch/_sync/client/ml.py +132 -88
- elasticsearch/_sync/client/monitoring.py +4 -3
- elasticsearch/_sync/client/nodes.py +182 -20
- elasticsearch/_sync/client/project.py +13 -4
- elasticsearch/_sync/client/project_routing.py +264 -0
- elasticsearch/_sync/client/query_rules.py +16 -16
- elasticsearch/_sync/client/rollup.py +21 -21
- elasticsearch/_sync/client/search_application.py +19 -19
- elasticsearch/_sync/client/searchable_snapshots.py +10 -10
- elasticsearch/_sync/client/security.py +34 -10
- elasticsearch/_sync/client/shutdown.py +15 -4
- elasticsearch/_sync/client/simulate.py +4 -4
- elasticsearch/_sync/client/slm.py +17 -17
- elasticsearch/_sync/client/snapshot.py +21 -21
- elasticsearch/_sync/client/sql.py +17 -16
- elasticsearch/_sync/client/streams.py +6 -7
- elasticsearch/_sync/client/synonyms.py +10 -10
- elasticsearch/_sync/client/tasks.py +8 -8
- elasticsearch/_sync/client/text_structure.py +16 -12
- elasticsearch/_sync/client/transform.py +51 -12
- elasticsearch/_sync/client/utils.py +16 -2
- elasticsearch/_sync/client/watcher.py +26 -26
- elasticsearch/_sync/client/xpack.py +6 -5
- elasticsearch/_version.py +2 -2
- elasticsearch/dsl/__init__.py +4 -0
- elasticsearch/dsl/_async/document.py +4 -5
- elasticsearch/dsl/_async/index.py +1 -1
- elasticsearch/dsl/_async/search.py +2 -3
- elasticsearch/dsl/_sync/document.py +4 -5
- elasticsearch/dsl/_sync/index.py +1 -1
- elasticsearch/dsl/_sync/search.py +2 -3
- elasticsearch/dsl/aggs.py +9 -9
- elasticsearch/dsl/async_connections.py +1 -2
- elasticsearch/dsl/connections.py +1 -2
- elasticsearch/dsl/document_base.py +1 -1
- elasticsearch/dsl/field.py +90 -6
- elasticsearch/dsl/pydantic.py +1 -1
- elasticsearch/dsl/query.py +25 -2
- elasticsearch/dsl/response/__init__.py +2 -0
- elasticsearch/dsl/serializer.py +1 -2
- elasticsearch/dsl/types.py +63 -8
- elasticsearch/dsl/utils.py +12 -4
- elasticsearch/esql/esql.py +1 -1
- elasticsearch/esql/functions.py +926 -252
- elasticsearch/helpers/__init__.py +2 -0
- elasticsearch/helpers/actions.py +21 -0
- elasticsearch/helpers/vectorstore/__init__.py +7 -7
- elasticsearch/helpers/vectorstore/_async/_utils.py +1 -1
- elasticsearch/helpers/vectorstore/_async/embedding_service.py +2 -2
- elasticsearch/helpers/vectorstore/_async/strategies.py +3 -3
- elasticsearch/helpers/vectorstore/_async/vectorstore.py +8 -5
- elasticsearch/helpers/vectorstore/_sync/_utils.py +1 -1
- elasticsearch/helpers/vectorstore/_sync/embedding_service.py +2 -2
- elasticsearch/helpers/vectorstore/_sync/strategies.py +3 -3
- elasticsearch/helpers/vectorstore/_sync/vectorstore.py +8 -5
- {elasticsearch-9.2.0.dist-info → elasticsearch-9.3.0.dist-info}/METADATA +2 -1
- elasticsearch-9.3.0.dist-info/RECORD +169 -0
- {elasticsearch-9.2.0.dist-info → elasticsearch-9.3.0.dist-info}/WHEEL +1 -1
- elasticsearch-9.2.0.dist-info/RECORD +0 -168
- {elasticsearch-9.2.0.dist-info → elasticsearch-9.3.0.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-9.2.0.dist-info → elasticsearch-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
|
|
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:
|
|
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:
|
|
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
|
|
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>
|