elasticsearch 8.18.0__py3-none-any.whl → 8.19.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 +56 -76
- elasticsearch/_async/client/async_search.py +5 -9
- elasticsearch/_async/client/autoscaling.py +4 -4
- elasticsearch/_async/client/cat.py +620 -65
- elasticsearch/_async/client/ccr.py +13 -13
- elasticsearch/_async/client/cluster.py +33 -24
- elasticsearch/_async/client/connector.py +30 -30
- elasticsearch/_async/client/dangling_indices.py +3 -3
- elasticsearch/_async/client/enrich.py +5 -5
- elasticsearch/_async/client/eql.py +13 -5
- elasticsearch/_async/client/esql.py +38 -9
- elasticsearch/_async/client/features.py +2 -2
- elasticsearch/_async/client/fleet.py +13 -13
- elasticsearch/_async/client/graph.py +1 -1
- elasticsearch/_async/client/ilm.py +11 -11
- elasticsearch/_async/client/indices.py +131 -82
- elasticsearch/_async/client/inference.py +516 -110
- elasticsearch/_async/client/ingest.py +9 -16
- elasticsearch/_async/client/license.py +11 -11
- elasticsearch/_async/client/logstash.py +3 -3
- elasticsearch/_async/client/migration.py +3 -3
- elasticsearch/_async/client/ml.py +81 -93
- elasticsearch/_async/client/nodes.py +9 -8
- elasticsearch/_async/client/query_rules.py +8 -8
- elasticsearch/_async/client/rollup.py +8 -8
- elasticsearch/_async/client/search_application.py +10 -10
- elasticsearch/_async/client/searchable_snapshots.py +4 -4
- elasticsearch/_async/client/security.py +72 -80
- elasticsearch/_async/client/shutdown.py +3 -3
- elasticsearch/_async/client/simulate.py +1 -1
- elasticsearch/_async/client/slm.py +9 -9
- elasticsearch/_async/client/snapshot.py +19 -13
- elasticsearch/_async/client/sql.py +6 -6
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +7 -7
- elasticsearch/_async/client/tasks.py +3 -3
- elasticsearch/_async/client/text_structure.py +4 -4
- elasticsearch/_async/client/transform.py +11 -11
- elasticsearch/_async/client/watcher.py +13 -13
- elasticsearch/_async/client/xpack.py +2 -2
- elasticsearch/_sync/client/__init__.py +56 -76
- elasticsearch/_sync/client/async_search.py +5 -9
- elasticsearch/_sync/client/autoscaling.py +4 -4
- elasticsearch/_sync/client/cat.py +620 -65
- elasticsearch/_sync/client/ccr.py +13 -13
- elasticsearch/_sync/client/cluster.py +33 -24
- elasticsearch/_sync/client/connector.py +30 -30
- elasticsearch/_sync/client/dangling_indices.py +3 -3
- elasticsearch/_sync/client/enrich.py +5 -5
- elasticsearch/_sync/client/eql.py +13 -5
- elasticsearch/_sync/client/esql.py +38 -9
- elasticsearch/_sync/client/features.py +2 -2
- elasticsearch/_sync/client/fleet.py +13 -13
- elasticsearch/_sync/client/graph.py +1 -1
- elasticsearch/_sync/client/ilm.py +11 -11
- elasticsearch/_sync/client/indices.py +131 -82
- elasticsearch/_sync/client/inference.py +516 -110
- elasticsearch/_sync/client/ingest.py +9 -16
- elasticsearch/_sync/client/license.py +11 -11
- elasticsearch/_sync/client/logstash.py +3 -3
- elasticsearch/_sync/client/migration.py +3 -3
- elasticsearch/_sync/client/ml.py +81 -93
- elasticsearch/_sync/client/nodes.py +9 -8
- elasticsearch/_sync/client/query_rules.py +8 -8
- elasticsearch/_sync/client/rollup.py +8 -8
- elasticsearch/_sync/client/search_application.py +10 -10
- elasticsearch/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch/_sync/client/security.py +72 -80
- elasticsearch/_sync/client/shutdown.py +3 -3
- elasticsearch/_sync/client/simulate.py +1 -1
- elasticsearch/_sync/client/slm.py +9 -9
- elasticsearch/_sync/client/snapshot.py +19 -13
- elasticsearch/_sync/client/sql.py +6 -6
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +7 -7
- elasticsearch/_sync/client/tasks.py +3 -3
- elasticsearch/_sync/client/text_structure.py +4 -4
- elasticsearch/_sync/client/transform.py +11 -11
- elasticsearch/_sync/client/watcher.py +13 -13
- elasticsearch/_sync/client/xpack.py +2 -2
- elasticsearch/_version.py +1 -1
- elasticsearch/compat.py +5 -0
- elasticsearch/dsl/__init__.py +2 -1
- elasticsearch/dsl/_async/document.py +1 -1
- elasticsearch/dsl/_sync/document.py +1 -1
- elasticsearch/dsl/aggs.py +2 -3
- elasticsearch/dsl/document_base.py +176 -16
- elasticsearch/dsl/field.py +361 -38
- elasticsearch/dsl/query.py +55 -4
- elasticsearch/dsl/types.py +151 -22
- elasticsearch/dsl/utils.py +1 -1
- elasticsearch/esql/__init__.py +18 -0
- elasticsearch/esql/esql.py +1105 -0
- elasticsearch/esql/functions.py +1738 -0
- elasticsearch/exceptions.py +2 -0
- {elasticsearch-8.18.0.dist-info → elasticsearch-8.19.0.dist-info}/METADATA +1 -1
- elasticsearch-8.19.0.dist-info/RECORD +164 -0
- elasticsearch-8.18.0.dist-info/RECORD +0 -161
- {elasticsearch-8.18.0.dist-info → elasticsearch-8.19.0.dist-info}/WHEEL +0 -0
- {elasticsearch-8.18.0.dist-info → elasticsearch-8.19.0.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.18.0.dist-info → elasticsearch-8.19.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -48,7 +48,7 @@ class WatcherClient(NamespacedClient):
|
|
|
48
48
|
This happens when the condition of the watch is not met (the condition evaluates to false).</p>
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
`<https://www.elastic.co/
|
|
51
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-ack-watch>`_
|
|
52
52
|
|
|
53
53
|
:param watch_id: The watch identifier.
|
|
54
54
|
:param action_id: A comma-separated list of the action identifiers to acknowledge.
|
|
@@ -104,7 +104,7 @@ class WatcherClient(NamespacedClient):
|
|
|
104
104
|
A watch can be either active or inactive.</p>
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
`<https://www.elastic.co/
|
|
107
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-activate-watch>`_
|
|
108
108
|
|
|
109
109
|
:param watch_id: The watch identifier.
|
|
110
110
|
"""
|
|
@@ -148,7 +148,7 @@ class WatcherClient(NamespacedClient):
|
|
|
148
148
|
A watch can be either active or inactive.</p>
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
`<https://www.elastic.co/
|
|
151
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-deactivate-watch>`_
|
|
152
152
|
|
|
153
153
|
:param watch_id: The watch identifier.
|
|
154
154
|
"""
|
|
@@ -196,7 +196,7 @@ class WatcherClient(NamespacedClient):
|
|
|
196
196
|
When Elasticsearch security features are enabled, make sure no write privileges are granted to anyone for the <code>.watches</code> index.</p>
|
|
197
197
|
|
|
198
198
|
|
|
199
|
-
`<https://www.elastic.co/
|
|
199
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-delete-watch>`_
|
|
200
200
|
|
|
201
201
|
:param id: The watch identifier.
|
|
202
202
|
"""
|
|
@@ -277,7 +277,7 @@ class WatcherClient(NamespacedClient):
|
|
|
277
277
|
<p>When using the run watch API, the authorization data of the user that called the API will be used as a base, instead of the information who stored the watch.</p>
|
|
278
278
|
|
|
279
279
|
|
|
280
|
-
`<https://www.elastic.co/
|
|
280
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-execute-watch>`_
|
|
281
281
|
|
|
282
282
|
:param id: The watch identifier.
|
|
283
283
|
:param action_modes: Determines how to handle the watch actions as part of the
|
|
@@ -365,7 +365,7 @@ class WatcherClient(NamespacedClient):
|
|
|
365
365
|
Only a subset of settings are shown, for example <code>index.auto_expand_replicas</code> and <code>index.number_of_replicas</code>.</p>
|
|
366
366
|
|
|
367
367
|
|
|
368
|
-
`<https://www.elastic.co/
|
|
368
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-get-settings>`_
|
|
369
369
|
|
|
370
370
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
371
371
|
If no response is received before the timeout expires, the request fails
|
|
@@ -410,7 +410,7 @@ class WatcherClient(NamespacedClient):
|
|
|
410
410
|
<p>Get a watch.</p>
|
|
411
411
|
|
|
412
412
|
|
|
413
|
-
`<https://www.elastic.co/
|
|
413
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-get-watch>`_
|
|
414
414
|
|
|
415
415
|
:param id: The watch identifier.
|
|
416
416
|
"""
|
|
@@ -485,7 +485,7 @@ class WatcherClient(NamespacedClient):
|
|
|
485
485
|
If the user is able to read index <code>a</code>, but not index <code>b</code>, the same will apply when the watch runs.</p>
|
|
486
486
|
|
|
487
487
|
|
|
488
|
-
`<https://www.elastic.co/
|
|
488
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-put-watch>`_
|
|
489
489
|
|
|
490
490
|
:param id: The identifier for the watch.
|
|
491
491
|
:param actions: The list of actions that will be run if the condition matches.
|
|
@@ -598,7 +598,7 @@ class WatcherClient(NamespacedClient):
|
|
|
598
598
|
<p>Note that only the <code>_id</code> and <code>metadata.*</code> fields are queryable or sortable.</p>
|
|
599
599
|
|
|
600
600
|
|
|
601
|
-
`<https://www.elastic.co/
|
|
601
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-query-watches>`_
|
|
602
602
|
|
|
603
603
|
:param from_: The offset from the first result to fetch. It must be non-negative.
|
|
604
604
|
:param query: A query that filters the watches to be returned.
|
|
@@ -673,7 +673,7 @@ class WatcherClient(NamespacedClient):
|
|
|
673
673
|
Start the Watcher service if it is not already running.</p>
|
|
674
674
|
|
|
675
675
|
|
|
676
|
-
`<https://www.elastic.co/
|
|
676
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-start>`_
|
|
677
677
|
|
|
678
678
|
:param master_timeout: Period to wait for a connection to the master node.
|
|
679
679
|
"""
|
|
@@ -739,7 +739,7 @@ class WatcherClient(NamespacedClient):
|
|
|
739
739
|
You retrieve more metrics by using the metric parameter.</p>
|
|
740
740
|
|
|
741
741
|
|
|
742
|
-
`<https://www.elastic.co/
|
|
742
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-stats>`_
|
|
743
743
|
|
|
744
744
|
:param metric: Defines which additional metrics are included in the response.
|
|
745
745
|
:param emit_stacktraces: Defines whether stack traces are generated for each
|
|
@@ -790,7 +790,7 @@ class WatcherClient(NamespacedClient):
|
|
|
790
790
|
Stop the Watcher service if it is running.</p>
|
|
791
791
|
|
|
792
792
|
|
|
793
|
-
`<https://www.elastic.co/
|
|
793
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-stop>`_
|
|
794
794
|
|
|
795
795
|
:param master_timeout: The period to wait for the master node. If the master
|
|
796
796
|
node is not available before the timeout expires, the request fails and returns
|
|
@@ -851,7 +851,7 @@ class WatcherClient(NamespacedClient):
|
|
|
851
851
|
Watcher shards must always be in the <code>data_content</code> tier.</p>
|
|
852
852
|
|
|
853
853
|
|
|
854
|
-
`<https://www.elastic.co/
|
|
854
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-watcher-update-settings>`_
|
|
855
855
|
|
|
856
856
|
:param index_auto_expand_replicas:
|
|
857
857
|
:param index_number_of_replicas:
|
|
@@ -54,7 +54,7 @@ class XPackClient(NamespacedClient):
|
|
|
54
54
|
</ul>
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
57
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/info-api.html>`_
|
|
58
58
|
|
|
59
59
|
:param accept_enterprise: If this param is used it must be set to true
|
|
60
60
|
:param categories: A comma-separated list of the information categories to include
|
|
@@ -103,7 +103,7 @@ class XPackClient(NamespacedClient):
|
|
|
103
103
|
The API also provides some usage statistics.</p>
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
`<https://www.elastic.co/
|
|
106
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/group/endpoint-xpack>`_
|
|
107
107
|
|
|
108
108
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
109
109
|
If no response is received before the timeout expires, the request fails
|