|
@@ -262,6 +262,7 @@ The JSON response looks like this:
|
|
|
{
|
|
|
"took" : 147,
|
|
|
"timed_out": false,
|
|
|
+ "total": 5,
|
|
|
"updated": 5,
|
|
|
"deleted": 0,
|
|
|
"batches": 1,
|
|
@@ -274,7 +275,6 @@ The JSON response looks like this:
|
|
|
"throttled_millis": 0,
|
|
|
"requests_per_second": -1.0,
|
|
|
"throttled_until_millis": 0,
|
|
|
- "total": 5,
|
|
|
"failures" : [ ]
|
|
|
}
|
|
|
--------------------------------------------------
|
|
@@ -284,10 +284,23 @@ The JSON response looks like this:
|
|
|
|
|
|
The number of milliseconds from start to end of the whole operation.
|
|
|
|
|
|
+`timed_out`::
|
|
|
+
|
|
|
+This flag is set to `true` if any of the requests executed during the
|
|
|
+update by query execution has timed out.
|
|
|
+
|
|
|
+`total`::
|
|
|
+
|
|
|
+The number of documents that were successfully processed.
|
|
|
+
|
|
|
`updated`::
|
|
|
|
|
|
The number of documents that were successfully updated.
|
|
|
|
|
|
+`deleted`::
|
|
|
+
|
|
|
+The number of documents that were successfully deleted.
|
|
|
+
|
|
|
`batches`::
|
|
|
|
|
|
The number of scroll responses pulled back by the update by query.
|
|
@@ -296,6 +309,11 @@ The number of scroll responses pulled back by the update by query.
|
|
|
|
|
|
The number of version conflicts that the update by query hit.
|
|
|
|
|
|
+`noops`::
|
|
|
+
|
|
|
+The number of documents that were ignored because the script used for
|
|
|
+the update by query returned a `noop` value for `ctx.op`.
|
|
|
+
|
|
|
`retries`::
|
|
|
|
|
|
The number of retries attempted by update-by-query. `bulk` is the number of bulk
|
|
@@ -305,6 +323,17 @@ actions retried and `search` is the number of search actions retried.
|
|
|
|
|
|
Number of milliseconds the request slept to conform to `requests_per_second`.
|
|
|
|
|
|
+`requests_per_second`::
|
|
|
+
|
|
|
+The number of requests per second effectively executed during the update by query.
|
|
|
+
|
|
|
+`throttled_until_millis`::
|
|
|
+
|
|
|
+This field should always be equal to zero in a delete by query response. It only
|
|
|
+has meaning when using the <<docs-update-by-query-task-api, Task API>>, where it
|
|
|
+indicates the next time (in milliseconds since epoch) a throttled request will be
|
|
|
+executed again in order to conform to `requests_per_second`.
|
|
|
+
|
|
|
`failures`::
|
|
|
|
|
|
Array of all indexing failures. If this is non-empty then the request aborted
|