Skip to content

Commit

Permalink
[Docs] Improve Redindex/Update/Delete By Query. (#35127)
Browse files Browse the repository at this point in the history
Fix a copy paste error and improve formatting in
Redindex/Update/Delete By Query and fix formula in Update By Query.
  • Loading branch information
Qian Hong authored and nik9000 committed Oct 31, 2018
1 parent f4433ad commit 38294b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/reference/docs/delete-by-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ The number of requests per second effectively executed during the delete by quer

`throttled_until_millis`::

This field should always be equal to zero in a delete by query response. It only
This field should always be equal to zero in a `_delete_by_query` response. It only
has meaning when using the <<docs-delete-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`.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/docs/reindex.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ The number of requests per second effectively executed during the reindex.

`throttled_until_millis`::

This field should always be equal to zero in a `_delete_by_query` response. It only
This field should always be equal to zero in a `_reindex` response. It only
has meaning when using the <<docs-reindex-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`.
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/docs/update-by-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ batch size is `1000`, so if the `requests_per_second` is set to `500`:
[source,txt]
--------------------------------------------------
target_time = 1000 / 500 per second = 2 seconds
wait_time = target_time - delete_time = 2 seconds - .5 seconds = 1.5 seconds
wait_time = target_time - write_time = 2 seconds - .5 seconds = 1.5 seconds
--------------------------------------------------

Since the batch is issued as a single `_bulk` request large batch sizes will
Expand Down Expand Up @@ -331,7 +331,7 @@ The number of requests per second effectively executed during the update by quer

`throttled_until_millis`::

This field should always be equal to zero in a delete by query response. It only
This field should always be equal to zero in an `_update_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`.
Expand Down

0 comments on commit 38294b7

Please sign in to comment.