Skip to content

Commit 878671b

Browse files
Auto-generated API code
1 parent 5d86ccd commit 878671b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3282
-1496
lines changed

elasticsearch/_async/client/__init__.py

Lines changed: 54 additions & 75 deletions
Large diffs are not rendered by default.

elasticsearch/_async/client/async_search.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def delete(
4444
If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the <code>cancel_task</code> cluster privilege.</p>
4545
4646
47-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
47+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
4848
4949
:param id: A unique identifier for the async search.
5050
"""
@@ -94,7 +94,7 @@ async def get(
9494
If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.</p>
9595
9696
97-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
97+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
9898
9999
:param id: A unique identifier for the async search.
100100
:param keep_alive: The length of time that the async search should be available
@@ -164,7 +164,7 @@ async def status(
164164
</ul>
165165
166166
167-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
167+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
168168
169169
:param id: A unique identifier for the async search.
170170
:param keep_alive: The length of time that the async search needs to be available.
@@ -281,7 +281,6 @@ async def submit(
281281
] = None,
282282
lenient: t.Optional[bool] = None,
283283
max_concurrent_shard_requests: t.Optional[int] = None,
284-
min_compatible_shard_node: t.Optional[str] = None,
285284
min_score: t.Optional[float] = None,
286285
pit: t.Optional[t.Mapping[str, t.Any]] = None,
287286
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -346,7 +345,7 @@ async def submit(
346345
The maximum allowed size for a stored async search response can be set by changing the <code>search.max_async_search_response_size</code> cluster level setting.</p>
347346
348347
349-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html>`_
348+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/async-search.html>`_
350349
351350
:param index: A comma-separated list of index names to search; use `_all` or
352351
empty string to perform the operation on all indices
@@ -401,7 +400,6 @@ async def submit(
401400
per node this search executes concurrently. This value should be used to
402401
limit the impact of the search on the cluster in order to limit the number
403402
of concurrent shard requests
404-
:param min_compatible_shard_node:
405403
:param min_score: Minimum _score for matching documents. Documents with a lower
406404
_score are not included in search results and results collected by aggregations.
407405
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -526,8 +524,6 @@ async def submit(
526524
__query["lenient"] = lenient
527525
if max_concurrent_shard_requests is not None:
528526
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
529-
if min_compatible_shard_node is not None:
530-
__query["min_compatible_shard_node"] = min_compatible_shard_node
531527
if preference is not None:
532528
__query["preference"] = preference
533529
if pretty is not None:

elasticsearch/_async/client/autoscaling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def delete_autoscaling_policy(
4444
<p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
4545
4646
47-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-delete-autoscaling-policy.html>`_
47+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-delete-autoscaling-policy.html>`_
4848
4949
:param name: the name of the autoscaling policy
5050
:param master_timeout: Period to wait for a connection to the master node. If
@@ -104,7 +104,7 @@ async def get_autoscaling_capacity(
104104
Do not use this information to make autoscaling decisions.</p>
105105
106106
107-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
107+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-get-autoscaling-capacity.html>`_
108108
109109
:param master_timeout: Period to wait for a connection to the master node. If
110110
no response is received before the timeout expires, the request fails and
@@ -151,7 +151,7 @@ async def get_autoscaling_policy(
151151
<p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
152152
153153
154-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-get-autoscaling-capacity.html>`_
154+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-get-autoscaling-capacity.html>`_
155155
156156
:param name: the name of the autoscaling policy
157157
:param master_timeout: Period to wait for a connection to the master node. If
@@ -206,7 +206,7 @@ async def put_autoscaling_policy(
206206
<p>NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.</p>
207207
208208
209-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/autoscaling-put-autoscaling-policy.html>`_
209+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.19/autoscaling-put-autoscaling-policy.html>`_
210210
211211
:param name: the name of the autoscaling policy
212212
:param policy:

0 commit comments

Comments
 (0)