Skip to content

Commit 2c1fd63

Browse files
Auto-generated API code (#2890)
1 parent c1003ff commit 2c1fd63

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

elasticsearch/_async/client/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4839,7 +4839,8 @@ async def search(
48394839
:param min_compatible_shard_node: The minimum version of the node that can handle
48404840
the request Any handling node with a lower version will fail the request.
48414841
:param min_score: The minimum `_score` for matching documents. Documents with
4842-
a lower `_score` are not included in the search results.
4842+
a lower `_score` are not included in search results and results collected
4843+
by aggregations.
48434844
:param pit: Limit the search to a point in time (PIT). If you provide a PIT,
48444845
you cannot specify an `<index>` in the request path.
48454846
:param post_filter: Use the `post_filter` parameter to filter search results.

elasticsearch/_async/client/async_search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ async def submit(
403403
of concurrent shard requests
404404
:param min_compatible_shard_node:
405405
:param min_score: Minimum _score for matching documents. Documents with a lower
406-
_score are not included in the search results.
406+
_score are not included in search results and results collected by aggregations.
407407
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
408408
you cannot specify an <index> in the request path.
409409
:param post_filter:

elasticsearch/_async/client/fleet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def search(
430430
:param max_concurrent_shard_requests:
431431
:param min_compatible_shard_node:
432432
:param min_score: Minimum _score for matching documents. Documents with a lower
433-
_score are not included in the search results.
433+
_score are not included in search results and results collected by aggregations.
434434
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
435435
you cannot specify an <index> in the request path.
436436
:param post_filter:

elasticsearch/_async/client/watcher.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,10 @@ async def update_settings(
845845
<p>Update Watcher index settings.
846846
Update settings for the Watcher internal index (<code>.watches</code>).
847847
Only a subset of settings can be modified.
848-
This includes <code>index.auto_expand_replicas</code> and <code>index.number_of_replicas</code>.</p>
848+
This includes <code>index.auto_expand_replicas</code>, <code>index.number_of_replicas</code>, <code>index.routing.allocation.exclude.*</code>,
849+
<code>index.routing.allocation.include.*</code> and <code>index.routing.allocation.require.*</code>.
850+
Modification of <code>index.routing.allocation.include._tier_preference</code> is an exception and is not allowed as the
851+
Watcher shards must always be in the <code>data_content</code> tier.</p>
849852
850853
851854
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-watcher-update-settings>`_

elasticsearch/_sync/client/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4837,7 +4837,8 @@ def search(
48374837
:param min_compatible_shard_node: The minimum version of the node that can handle
48384838
the request Any handling node with a lower version will fail the request.
48394839
:param min_score: The minimum `_score` for matching documents. Documents with
4840-
a lower `_score` are not included in the search results.
4840+
a lower `_score` are not included in search results and results collected
4841+
by aggregations.
48414842
:param pit: Limit the search to a point in time (PIT). If you provide a PIT,
48424843
you cannot specify an `<index>` in the request path.
48434844
:param post_filter: Use the `post_filter` parameter to filter search results.

elasticsearch/_sync/client/async_search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def submit(
403403
of concurrent shard requests
404404
:param min_compatible_shard_node:
405405
:param min_score: Minimum _score for matching documents. Documents with a lower
406-
_score are not included in the search results.
406+
_score are not included in search results and results collected by aggregations.
407407
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
408408
you cannot specify an <index> in the request path.
409409
:param post_filter:

elasticsearch/_sync/client/fleet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def search(
430430
:param max_concurrent_shard_requests:
431431
:param min_compatible_shard_node:
432432
:param min_score: Minimum _score for matching documents. Documents with a lower
433-
_score are not included in the search results.
433+
_score are not included in search results and results collected by aggregations.
434434
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
435435
you cannot specify an <index> in the request path.
436436
:param post_filter:

elasticsearch/_sync/client/watcher.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,10 @@ def update_settings(
845845
<p>Update Watcher index settings.
846846
Update settings for the Watcher internal index (<code>.watches</code>).
847847
Only a subset of settings can be modified.
848-
This includes <code>index.auto_expand_replicas</code> and <code>index.number_of_replicas</code>.</p>
848+
This includes <code>index.auto_expand_replicas</code>, <code>index.number_of_replicas</code>, <code>index.routing.allocation.exclude.*</code>,
849+
<code>index.routing.allocation.include.*</code> and <code>index.routing.allocation.require.*</code>.
850+
Modification of <code>index.routing.allocation.include._tier_preference</code> is an exception and is not allowed as the
851+
Watcher shards must always be in the <code>data_content</code> tier.</p>
849852
850853
851854
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-watcher-update-settings>`_

0 commit comments

Comments
 (0)