You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elasticsearch/_async/client/cat.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2494,7 +2494,7 @@ async def tasks(
2494
2494
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.</p>
:param master_timeout: Period to wait for a connection to the master node.
48
+
:param name: The auto-follow pattern collection to delete.
49
+
:param master_timeout: The period to wait for a connection to the master node.
50
+
If the master node is not available before the timeout expires, the request
51
+
fails and returns an error. It can also be set to `-1` to indicate that the
52
+
request should never timeout.
50
53
"""
51
54
ifnameinSKIP_IN_PATH:
52
55
raiseValueError("Empty value passed for parameter 'name'")
@@ -251,16 +254,18 @@ async def follow_info(
251
254
"""
252
255
.. raw:: html
253
256
254
-
<p>Get follower information.
255
-
Get information about all cross-cluster replication follower indices.
257
+
<p>Get follower information.</p>
258
+
<p>Get information about all cross-cluster replication follower indices.
256
259
For example, the results include follower index names, leader index names, replication options, and whether the follower indices are active or paused.</p>
:param master_timeout: Period to wait for a connection to the master node.
944
-
:param timeout: Period to wait for a response. If no response is received before
945
-
the timeout expires, the request fails and returns an error.
956
+
:param master_timeout: The period to wait for a connection to the master node.
957
+
If the master node is not available before the timeout expires, the request
958
+
fails and returns an error. It can also be set to `-1` to indicate that the
959
+
request should never timeout.
960
+
:param timeout: The period to wait for a response. If no response is received
961
+
before the timeout expires, the request fails and returns an error.
946
962
"""
947
963
__path_parts: t.Dict[str, str] = {}
948
964
__path="/_ccr/stats"
@@ -983,18 +999,23 @@ async def unfollow(
983
999
"""
984
1000
.. raw:: html
985
1001
986
-
<p>Unfollow an index.
987
-
Convert a cross-cluster replication follower index to a regular index.
1002
+
<p>Unfollow an index.</p>
1003
+
<p>Convert a cross-cluster replication follower index to a regular index.
988
1004
The API stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
989
1005
The follower index must be paused and closed before you call the unfollow API.</p>
990
-
<p>NOTE: Currently cross-cluster replication does not support converting an existing regular index to a follower index. Converting a follower index to a regular index is an irreversible operation.</p>
1006
+
<blockquote>
1007
+
<p>info
1008
+
Currently cross-cluster replication does not support converting an existing regular index to a follower index. Converting a follower index to a regular index is an irreversible operation.</p>
Copy file name to clipboardExpand all lines: elasticsearch/_async/client/cluster.py
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -447,8 +447,8 @@ async def health(
447
447
"""
448
448
.. raw:: html
449
449
450
-
<p>Get the cluster health status.
451
-
You can also use the API to get the health status of only specified data streams and indices.
450
+
<p>Get the cluster health status.</p>
451
+
<p>You can also use the API to get the health status of only specified data streams and indices.
452
452
For data streams, the API retrieves the health status of the stream’s backing indices.</p>
453
453
<p>The cluster health status is: green, yellow or red.
454
454
On the shard level, a red status indicates that the specific shard is not allocated in the cluster. Yellow means that the primary shard is allocated but replicas are not. Green means that all shards are allocated.
@@ -850,8 +850,8 @@ async def put_settings(
850
850
"""
851
851
.. raw:: html
852
852
853
-
<p>Update the cluster settings.
854
-
Configure and update dynamic settings on a running cluster.
853
+
<p>Update the cluster settings.</p>
854
+
<p>Configure and update dynamic settings on a running cluster.
855
855
You can also configure dynamic settings locally on an unstarted or shut down node in <code>elasticsearch.yml</code>.</p>
856
856
<p>Updates made with this API can be persistent, which apply across cluster restarts, or transient, which reset after a cluster restart.
857
857
You can also reset transient or persistent settings by assigning them a null value.</p>
@@ -920,9 +920,16 @@ async def remote_info(
920
920
"""
921
921
.. raw:: html
922
922
923
-
<p>Get remote cluster information.
924
-
Get all of the configured remote cluster information.
925
-
This API returns connection and endpoint information keyed by the configured remote cluster alias.</p>
923
+
<p>Get remote cluster information.</p>
924
+
<p>Get information about configured remote clusters.
925
+
The API returns connection and endpoint information keyed by the configured remote cluster alias.</p>
926
+
<blockquote>
927
+
<p>info
928
+
This API returns information that reflects current state on the local cluster.
929
+
The <code>connected</code> field does not necessarily reflect whether a remote cluster is down or unavailable, only whether there is currently an open connection to it.
930
+
Elasticsearch does not spontaneously try to reconnect to a disconnected remote cluster.
931
+
To trigger a reconnection, attempt a cross-cluster search, ES|QL cross-cluster search, or try the <a href="https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-resolve-cluster">resolve cluster endpoint</a>.</p>
0 commit comments