elasticsearch9 9.0.4__py3-none-any.whl → 9.1.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.
- elasticsearch9/__init__.py +3 -3
- elasticsearch9/_async/client/__init__.py +42 -42
- elasticsearch9/_async/client/async_search.py +4 -4
- elasticsearch9/_async/client/autoscaling.py +4 -4
- elasticsearch9/_async/client/cat.py +26 -26
- elasticsearch9/_async/client/ccr.py +13 -13
- elasticsearch9/_async/client/cluster.py +25 -20
- elasticsearch9/_async/client/connector.py +30 -30
- elasticsearch9/_async/client/dangling_indices.py +3 -3
- elasticsearch9/_async/client/enrich.py +5 -5
- elasticsearch9/_async/client/eql.py +4 -4
- elasticsearch9/_async/client/esql.py +112 -5
- elasticsearch9/_async/client/features.py +2 -2
- elasticsearch9/_async/client/fleet.py +3 -3
- elasticsearch9/_async/client/graph.py +1 -1
- elasticsearch9/_async/client/ilm.py +11 -11
- elasticsearch9/_async/client/indices.py +504 -69
- elasticsearch9/_async/client/inference.py +419 -46
- elasticsearch9/_async/client/ingest.py +9 -9
- elasticsearch9/_async/client/license.py +7 -7
- elasticsearch9/_async/client/logstash.py +3 -3
- elasticsearch9/_async/client/migration.py +3 -3
- elasticsearch9/_async/client/ml.py +72 -73
- elasticsearch9/_async/client/nodes.py +7 -7
- elasticsearch9/_async/client/query_rules.py +8 -8
- elasticsearch9/_async/client/rollup.py +8 -8
- elasticsearch9/_async/client/search_application.py +10 -10
- elasticsearch9/_async/client/searchable_snapshots.py +4 -4
- elasticsearch9/_async/client/security.py +68 -64
- elasticsearch9/_async/client/shutdown.py +3 -3
- elasticsearch9/_async/client/simulate.py +1 -1
- elasticsearch9/_async/client/slm.py +9 -9
- elasticsearch9/_async/client/snapshot.py +58 -21
- elasticsearch9/_async/client/sql.py +6 -6
- elasticsearch9/_async/client/ssl.py +1 -1
- elasticsearch9/_async/client/synonyms.py +25 -7
- elasticsearch9/_async/client/tasks.py +4 -4
- elasticsearch9/_async/client/text_structure.py +4 -4
- elasticsearch9/_async/client/transform.py +11 -11
- elasticsearch9/_async/client/watcher.py +13 -13
- elasticsearch9/_async/client/xpack.py +2 -2
- elasticsearch9/_otel.py +8 -8
- elasticsearch9/_sync/client/__init__.py +42 -42
- elasticsearch9/_sync/client/async_search.py +4 -4
- elasticsearch9/_sync/client/autoscaling.py +4 -4
- elasticsearch9/_sync/client/cat.py +26 -26
- elasticsearch9/_sync/client/ccr.py +13 -13
- elasticsearch9/_sync/client/cluster.py +25 -20
- elasticsearch9/_sync/client/connector.py +30 -30
- elasticsearch9/_sync/client/dangling_indices.py +3 -3
- elasticsearch9/_sync/client/enrich.py +5 -5
- elasticsearch9/_sync/client/eql.py +4 -4
- elasticsearch9/_sync/client/esql.py +112 -5
- elasticsearch9/_sync/client/features.py +2 -2
- elasticsearch9/_sync/client/fleet.py +3 -3
- elasticsearch9/_sync/client/graph.py +1 -1
- elasticsearch9/_sync/client/ilm.py +11 -11
- elasticsearch9/_sync/client/indices.py +504 -69
- elasticsearch9/_sync/client/inference.py +419 -46
- elasticsearch9/_sync/client/ingest.py +9 -9
- elasticsearch9/_sync/client/license.py +7 -7
- elasticsearch9/_sync/client/logstash.py +3 -3
- elasticsearch9/_sync/client/migration.py +3 -3
- elasticsearch9/_sync/client/ml.py +72 -73
- elasticsearch9/_sync/client/nodes.py +7 -7
- elasticsearch9/_sync/client/query_rules.py +8 -8
- elasticsearch9/_sync/client/rollup.py +8 -8
- elasticsearch9/_sync/client/search_application.py +10 -10
- elasticsearch9/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch9/_sync/client/security.py +68 -64
- elasticsearch9/_sync/client/shutdown.py +3 -3
- elasticsearch9/_sync/client/simulate.py +1 -1
- elasticsearch9/_sync/client/slm.py +9 -9
- elasticsearch9/_sync/client/snapshot.py +58 -21
- elasticsearch9/_sync/client/sql.py +6 -6
- elasticsearch9/_sync/client/ssl.py +1 -1
- elasticsearch9/_sync/client/synonyms.py +25 -7
- elasticsearch9/_sync/client/tasks.py +4 -4
- elasticsearch9/_sync/client/text_structure.py +4 -4
- elasticsearch9/_sync/client/transform.py +11 -11
- elasticsearch9/_sync/client/watcher.py +13 -13
- elasticsearch9/_sync/client/xpack.py +2 -2
- elasticsearch9/_version.py +1 -1
- elasticsearch9/dsl/aggs.py +20 -0
- elasticsearch9/dsl/document_base.py +2 -3
- elasticsearch9/dsl/field.py +18 -0
- elasticsearch9/dsl/query.py +1 -1
- elasticsearch9/dsl/response/__init__.py +1 -1
- elasticsearch9/dsl/types.py +163 -5
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/METADATA +3 -4
- elasticsearch9-9.1.1.dist-info/RECORD +163 -0
- elasticsearch9-9.0.4.dist-info/RECORD +0 -163
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/WHEEL +0 -0
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch9-9.0.4.dist-info → elasticsearch9-9.1.1.dist-info}/licenses/NOTICE +0 -0
|
@@ -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/docs/api/doc/elasticsearch/
|
|
47
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/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/docs/api/doc/elasticsearch/
|
|
105
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/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/docs/api/doc/elasticsearch/
|
|
166
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/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/docs/api/doc/elasticsearch/
|
|
221
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-get-status>`_
|
|
222
222
|
"""
|
|
223
223
|
__path_parts: t.Dict[str, str] = {}
|
|
224
224
|
__path = "/_ilm/status"
|
|
@@ -275,7 +275,7 @@ class IlmClient(NamespacedClient):
|
|
|
275
275
|
Use the stop ILM and get ILM status APIs to wait until the reported operation mode is <code>STOPPED</code>.</p>
|
|
276
276
|
|
|
277
277
|
|
|
278
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
278
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-migrate-to-data-tiers>`_
|
|
279
279
|
|
|
280
280
|
:param dry_run: If true, simulates the migration from node attributes based allocation
|
|
281
281
|
filters to data tiers, but does not perform the migration. This provides
|
|
@@ -354,7 +354,7 @@ class IlmClient(NamespacedClient):
|
|
|
354
354
|
An index cannot move to a step that is not part of its policy.</p>
|
|
355
355
|
|
|
356
356
|
|
|
357
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
357
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-move-to-step>`_
|
|
358
358
|
|
|
359
359
|
:param index: The name of the index whose lifecycle step is to change
|
|
360
360
|
:param current_step: The step that the index is expected to be in.
|
|
@@ -422,7 +422,7 @@ class IlmClient(NamespacedClient):
|
|
|
422
422
|
<p>NOTE: Only the latest version of the policy is stored, you cannot revert to previous versions.</p>
|
|
423
423
|
|
|
424
424
|
|
|
425
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
425
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-put-lifecycle>`_
|
|
426
426
|
|
|
427
427
|
:param name: Identifier for the policy.
|
|
428
428
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
@@ -486,7 +486,7 @@ class IlmClient(NamespacedClient):
|
|
|
486
486
|
It also stops managing the indices.</p>
|
|
487
487
|
|
|
488
488
|
|
|
489
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
489
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-remove-policy>`_
|
|
490
490
|
|
|
491
491
|
:param index: The name of the index to remove policy on
|
|
492
492
|
"""
|
|
@@ -532,7 +532,7 @@ class IlmClient(NamespacedClient):
|
|
|
532
532
|
Use the explain lifecycle state API to determine whether an index is in the ERROR step.</p>
|
|
533
533
|
|
|
534
534
|
|
|
535
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
535
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-retry>`_
|
|
536
536
|
|
|
537
537
|
:param index: The name of the indices (comma-separated) whose failed lifecycle
|
|
538
538
|
step is to be retry
|
|
@@ -580,7 +580,7 @@ class IlmClient(NamespacedClient):
|
|
|
580
580
|
Restarting ILM is necessary only when it has been stopped using the stop ILM API.</p>
|
|
581
581
|
|
|
582
582
|
|
|
583
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
583
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-start>`_
|
|
584
584
|
|
|
585
585
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
586
586
|
no response is received before the timeout expires, the request fails and
|
|
@@ -634,7 +634,7 @@ class IlmClient(NamespacedClient):
|
|
|
634
634
|
Use the get ILM status API to check whether ILM is running.</p>
|
|
635
635
|
|
|
636
636
|
|
|
637
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
637
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-stop>`_
|
|
638
638
|
|
|
639
639
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
640
640
|
no response is received before the timeout expires, the request fails and
|