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/__init__.py
+38-31Lines changed: 38 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -567,8 +567,8 @@ async def bulk(
567
567
"""
568
568
.. raw:: html
569
569
570
-
<p>Bulk index or delete documents.
571
-
Perform multiple <code>index</code>, <code>create</code>, <code>delete</code>, and <code>update</code> actions in a single request.
570
+
<p>Bulk index or delete documents.</p>
571
+
<p>Perform multiple <code>index</code>, <code>create</code>, <code>delete</code>, and <code>update</code> actions in a single request.
572
572
This reduces overhead and can greatly increase indexing speed.</p>
573
573
<p>If the Elasticsearch security features are enabled, you must have the following index privileges for the target data stream, index, or index alias:</p>
574
574
<ul>
@@ -616,6 +616,7 @@ async def bulk(
616
616
<li>Perl: Check out <code>Search::Elasticsearch::Client::5_0::Bulk</code> and <code>Search::Elasticsearch::Client::5_0::Scroll</code></li>
617
617
<li>Python: Check out <code>elasticsearch.helpers.*</code></li>
618
618
<li>JavaScript: Check out <code>client.helpers.*</code></li>
619
+
<li>Java: Check out <code>co.elastic.clients.elasticsearch._helpers.bulk.BulkIngester</code></li>
619
620
<li>.NET: Check out <code>BulkAllObservable</code></li>
620
621
<li>PHP: Check out bulk indexing.</li>
621
622
<li>Ruby: Check out <code>Elasticsearch::Helpers::BulkHelper</code></li>
@@ -773,8 +774,8 @@ async def clear_scroll(
773
774
"""
774
775
.. raw:: html
775
776
776
-
<p>Clear a scrolling search.
777
-
Clear the search context and results for a scrolling search.</p>
777
+
<p>Clear a scrolling search.</p>
778
+
<p>Clear the search context and results for a scrolling search.</p>
<p>Updates documents that match the specified query.
6125
6130
If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.</p>
6126
6131
<p>If the Elasticsearch security features are enabled, you must have the following index privileges for the target data stream, index, or alias:</p>
Copy file name to clipboardExpand all lines: elasticsearch/_async/client/ccr.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -125,8 +125,8 @@ async def follow(
125
125
"""
126
126
.. raw:: html
127
127
128
-
<p>Create a follower.
129
-
Create a cross-cluster replication follower index that follows a specific leader index.
128
+
<p>Create a follower.</p>
129
+
<p>Create a cross-cluster replication follower index that follows a specific leader index.
130
130
When the API returns, the follower index exists and cross-cluster replication starts replicating operations from the leader index to the follower index.</p>
131
131
132
132
@@ -368,8 +368,8 @@ async def forget_follower(
368
368
"""
369
369
.. raw:: html
370
370
371
-
<p>Forget a follower.
372
-
Remove the cross-cluster replication follower retention leases from the leader.</p>
371
+
<p>Forget a follower.</p>
372
+
<p>Remove the cross-cluster replication follower retention leases from the leader.</p>
373
373
<p>A following index takes out retention leases on its leader index.
374
374
These leases are used to increase the likelihood that the shards of the leader index retain the history of operations that the shards of the following index need to run replication.
375
375
When a follower index is converted to a regular index by the unfollow API (either by directly calling the API or by index lifecycle management tasks), these leases are removed.
Create a collection of cross-cluster replication auto-follow patterns for a remote cluster.
643
+
<p>Create or update auto-follow patterns.</p>
644
+
<p>Create a collection of cross-cluster replication auto-follow patterns for a remote cluster.
645
645
Newly created indices on the remote cluster that match any of the patterns are automatically configured as follower indices.
646
646
Indices on the remote cluster that were created before the auto-follow pattern was created will not be auto-followed even if they match the pattern.</p>
647
647
<p>This API can also be used to update auto-follow patterns.
@@ -853,8 +853,8 @@ async def resume_follow(
853
853
"""
854
854
.. raw:: html
855
855
856
-
<p>Resume a follower.
857
-
Resume a cross-cluster replication follower index that was paused.
856
+
<p>Resume a follower.</p>
857
+
<p>Resume a cross-cluster replication follower index that was paused.
858
858
The follower index could have been paused with the pause follower API.
859
859
Alternatively it could be paused due to replication that cannot be retried due to failures during following tasks.
860
860
When this API returns, the follower index will resume fetching operations from the leader index.</p>
0 commit comments