elasticsearch 8.19.1__py3-none-any.whl → 8.19.3__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 +66 -67
- elasticsearch/_async/client/async_search.py +3 -3
- elasticsearch/_async/client/autoscaling.py +8 -4
- elasticsearch/_async/client/cat.py +521 -27
- elasticsearch/_async/client/ccr.py +2 -2
- elasticsearch/_async/client/cluster.py +10 -9
- elasticsearch/_async/client/connector.py +37 -36
- elasticsearch/_async/client/dangling_indices.py +6 -10
- elasticsearch/_async/client/eql.py +2 -2
- elasticsearch/_async/client/esql.py +1 -1
- elasticsearch/_async/client/features.py +2 -2
- elasticsearch/_async/client/fleet.py +4 -8
- elasticsearch/_async/client/graph.py +1 -5
- elasticsearch/_async/client/ilm.py +2 -10
- elasticsearch/_async/client/indices.py +393 -56
- elasticsearch/_async/client/inference.py +35 -121
- elasticsearch/_async/client/ingest.py +1 -1
- elasticsearch/_async/client/license.py +3 -5
- elasticsearch/_async/client/ml.py +61 -21
- elasticsearch/_async/client/monitoring.py +2 -1
- elasticsearch/_async/client/nodes.py +9 -9
- elasticsearch/_async/client/rollup.py +9 -9
- elasticsearch/_async/client/search_application.py +11 -11
- elasticsearch/_async/client/searchable_snapshots.py +4 -4
- elasticsearch/_async/client/security.py +4 -4
- elasticsearch/_async/client/shutdown.py +12 -17
- elasticsearch/_async/client/simulate.py +2 -2
- elasticsearch/_async/client/slm.py +2 -6
- elasticsearch/_async/client/snapshot.py +3 -2
- elasticsearch/_async/client/streams.py +185 -0
- elasticsearch/_async/client/tasks.py +4 -4
- elasticsearch/_async/client/text_structure.py +5 -1
- elasticsearch/_async/client/transform.py +37 -0
- elasticsearch/_async/client/utils.py +4 -2
- elasticsearch/_async/client/watcher.py +3 -7
- elasticsearch/_async/client/xpack.py +2 -1
- elasticsearch/_async/helpers.py +58 -9
- elasticsearch/_sync/client/__init__.py +68 -67
- elasticsearch/_sync/client/async_search.py +3 -3
- elasticsearch/_sync/client/autoscaling.py +8 -4
- elasticsearch/_sync/client/cat.py +521 -27
- elasticsearch/_sync/client/ccr.py +2 -2
- elasticsearch/_sync/client/cluster.py +10 -9
- elasticsearch/_sync/client/connector.py +37 -36
- elasticsearch/_sync/client/dangling_indices.py +6 -10
- elasticsearch/_sync/client/eql.py +2 -2
- elasticsearch/_sync/client/esql.py +1 -1
- elasticsearch/_sync/client/features.py +2 -2
- elasticsearch/_sync/client/fleet.py +4 -8
- elasticsearch/_sync/client/graph.py +1 -5
- elasticsearch/_sync/client/ilm.py +2 -10
- elasticsearch/_sync/client/indices.py +393 -56
- elasticsearch/_sync/client/inference.py +35 -121
- elasticsearch/_sync/client/ingest.py +1 -1
- elasticsearch/_sync/client/license.py +3 -5
- elasticsearch/_sync/client/ml.py +61 -21
- elasticsearch/_sync/client/monitoring.py +2 -1
- elasticsearch/_sync/client/nodes.py +9 -9
- elasticsearch/_sync/client/rollup.py +9 -9
- elasticsearch/_sync/client/search_application.py +11 -11
- elasticsearch/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch/_sync/client/security.py +4 -4
- elasticsearch/_sync/client/shutdown.py +12 -17
- elasticsearch/_sync/client/simulate.py +2 -2
- elasticsearch/_sync/client/slm.py +2 -6
- elasticsearch/_sync/client/snapshot.py +3 -2
- elasticsearch/_sync/client/streams.py +185 -0
- elasticsearch/_sync/client/tasks.py +4 -4
- elasticsearch/_sync/client/text_structure.py +5 -1
- elasticsearch/_sync/client/transform.py +37 -0
- elasticsearch/_sync/client/utils.py +16 -2
- elasticsearch/_sync/client/watcher.py +3 -7
- elasticsearch/_sync/client/xpack.py +2 -1
- elasticsearch/_version.py +2 -1
- elasticsearch/client.py +2 -0
- elasticsearch/compat.py +45 -1
- elasticsearch/dsl/__init__.py +28 -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 +104 -7
- elasticsearch/dsl/async_connections.py +1 -2
- elasticsearch/dsl/connections.py +1 -2
- elasticsearch/dsl/document_base.py +16 -1
- elasticsearch/dsl/field.py +12 -1
- elasticsearch/dsl/query.py +24 -1
- elasticsearch/dsl/response/__init__.py +3 -0
- elasticsearch/dsl/serializer.py +1 -2
- elasticsearch/dsl/types.py +187 -9
- elasticsearch/dsl/utils.py +1 -2
- elasticsearch/esql/esql.py +1 -1
- elasticsearch/esql/functions.py +2 -2
- elasticsearch/helpers/__init__.py +10 -1
- elasticsearch/helpers/actions.py +106 -33
- 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 +5 -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 +5 -5
- {elasticsearch-8.19.1.dist-info → elasticsearch-8.19.3.dist-info}/METADATA +2 -2
- elasticsearch-8.19.3.dist-info/RECORD +166 -0
- {elasticsearch-8.19.1.dist-info → elasticsearch-8.19.3.dist-info}/WHEEL +1 -1
- elasticsearch-8.19.1.dist-info/RECORD +0 -164
- {elasticsearch-8.19.1.dist-info → elasticsearch-8.19.3.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.19.1.dist-info → elasticsearch-8.19.3.dist-info}/licenses/NOTICE +0 -0
|
@@ -357,7 +357,7 @@ class AsyncSearchClient(NamespacedClient):
|
|
|
357
357
|
:param allow_partial_search_results: Indicate if an error should be returned
|
|
358
358
|
if there is a partial search failure or timeout
|
|
359
359
|
:param analyze_wildcard: Specify whether wildcard and prefix queries should be
|
|
360
|
-
analyzed
|
|
360
|
+
analyzed
|
|
361
361
|
:param analyzer: The analyzer to use for the query string
|
|
362
362
|
:param batched_reduce_size: Affects how often partial results become available,
|
|
363
363
|
which happens whenever shard results are reduced. A partial reduction is
|
|
@@ -373,7 +373,7 @@ class AsyncSearchClient(NamespacedClient):
|
|
|
373
373
|
values for field names matching these patterns in the hits.fields property
|
|
374
374
|
of the response.
|
|
375
375
|
:param expand_wildcards: Whether to expand wildcard expression to concrete indices
|
|
376
|
-
that are open, closed or both
|
|
376
|
+
that are open, closed or both
|
|
377
377
|
:param explain: If true, returns detailed information about score computation
|
|
378
378
|
as part of a hit.
|
|
379
379
|
:param ext: Configuration of search extensions defined by Elasticsearch plugins.
|
|
@@ -406,7 +406,7 @@ class AsyncSearchClient(NamespacedClient):
|
|
|
406
406
|
you cannot specify an <index> in the request path.
|
|
407
407
|
:param post_filter:
|
|
408
408
|
:param preference: Specify the node or shard the operation should be performed
|
|
409
|
-
on
|
|
409
|
+
on
|
|
410
410
|
:param profile:
|
|
411
411
|
:param q: Query in the Lucene query string syntax
|
|
412
412
|
:param query: Defines the search definition using the Query DSL.
|
|
@@ -20,7 +20,11 @@ import typing as t
|
|
|
20
20
|
from elastic_transport import ObjectApiResponse
|
|
21
21
|
|
|
22
22
|
from ._base import NamespacedClient
|
|
23
|
-
from .utils import
|
|
23
|
+
from .utils import (
|
|
24
|
+
SKIP_IN_PATH,
|
|
25
|
+
_quote,
|
|
26
|
+
_rewrite_parameters,
|
|
27
|
+
)
|
|
24
28
|
|
|
25
29
|
|
|
26
30
|
class AutoscalingClient(NamespacedClient):
|
|
@@ -46,7 +50,7 @@ class AutoscalingClient(NamespacedClient):
|
|
|
46
50
|
|
|
47
51
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-delete-autoscaling-policy.html>`_
|
|
48
52
|
|
|
49
|
-
:param name:
|
|
53
|
+
:param name: Name of the autoscaling policy
|
|
50
54
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
51
55
|
no response is received before the timeout expires, the request fails and
|
|
52
56
|
returns an error.
|
|
@@ -153,7 +157,7 @@ class AutoscalingClient(NamespacedClient):
|
|
|
153
157
|
|
|
154
158
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-get-autoscaling-capacity.html>`_
|
|
155
159
|
|
|
156
|
-
:param name:
|
|
160
|
+
:param name: Name of the autoscaling policy
|
|
157
161
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
158
162
|
no response is received before the timeout expires, the request fails and
|
|
159
163
|
returns an error.
|
|
@@ -208,7 +212,7 @@ class AutoscalingClient(NamespacedClient):
|
|
|
208
212
|
|
|
209
213
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-put-autoscaling-policy.html>`_
|
|
210
214
|
|
|
211
|
-
:param name:
|
|
215
|
+
:param name: Name of the autoscaling policy
|
|
212
216
|
:param policy:
|
|
213
217
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
214
218
|
no response is received before the timeout expires, the request fails and
|