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: specification/_global/update_by_query/UpdateByQueryRequest.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -58,22 +58,22 @@ import { Duration } from '@_types/Time'
58
58
* A bulk update request is performed for each batch of matching documents.
59
59
* Any query or update failures cause the update by query request to fail and the failures are shown in the response.
60
60
* Any update requests that completed successfully still stick, they are not rolled back.
61
-
*
61
+
*
62
62
* **Refreshing shards**
63
63
* Specifying the `refresh` parameter refreshes all shards once the request completes.
64
64
* This is different than the update API's `refresh` parameter, which causes just the shard
65
65
* that received the request to be refreshed. Unlike the update API, it does not support
66
66
* `wait_for`.
67
-
*
67
+
*
68
68
* **Running update by query asynchronously**
69
-
*
69
+
*
70
70
* If the request contains `wait_for_completion=false`, Elasticsearch
71
71
* performs some preflight checks, launches the request, and returns a
72
72
* [task](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-tasks) you can use to cancel or get the status of the task.
73
73
* Elasticsearch creates a record of this task as a document at `.tasks/task/${taskId}`.
74
-
*
74
+
*
75
75
* **Waiting for active shards**
76
-
*
76
+
*
77
77
* `wait_for_active_shards` controls how many copies of a shard must be active
78
78
* before proceeding with the request. See [`wait_for_active_shards`](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-create#operation-create-wait_for_active_shards)
79
79
* for details. `timeout` controls how long each write request waits for unavailable
0 commit comments