OpenSearch/docs/reference/docs
Nik Everett e392e0b1df Create get task API that falls back to the .tasks index
This adds a get task API that supports GET /_tasks/${taskId} and
removes that responsibility from the list tasks API. The get task
API supports wait_for_complation just as the list tasks API does
but doesn't support any of the list task API's filters. In exchange,
it supports falling back to the .results index when the task isn't
running any more. Like any good GET API it 404s when it doesn't
find the task.

Then we change reindex, update-by-query, and delete-by-query to
persist the task result when wait_for_completion=false. The leads
to the neat behavior that, once you start a reindex with
wait_for_completion=false, you can fetch the result of the task by
using the get task API and see the result when it has finished.

Also rename the .results index to .tasks.
2016-06-14 13:37:34 -04:00
..
bulk.asciidoc Add support for waiting until a refresh occurs 2016-06-06 11:37:53 -04:00
delete-by-query.asciidoc Create get task API that falls back to the .tasks index 2016-06-14 13:37:34 -04:00
delete.asciidoc Add support for waiting until a refresh occurs 2016-06-06 11:37:53 -04:00
get.asciidoc Update get.asciidoc 2016-04-22 10:48:58 -06:00
index_.asciidoc Add support for waiting until a refresh occurs 2016-06-06 11:37:53 -04:00
multi-get.asciidoc Update multi-get.asciidoc 2014-11-08 13:55:23 +01:00
multi-termvectors.asciidoc percolator: renamed `percolator` query to `percolate` query 2016-04-20 15:23:54 +02:00
refresh.asciidoc [docs] Flow the refresh docs 2016-06-10 10:42:56 -04:00
reindex.asciidoc Create get task API that falls back to the .tasks index 2016-06-14 13:37:34 -04:00
termvectors.asciidoc percolator: renamed `percolator` query to `percolate` query 2016-04-20 15:23:54 +02:00
update-by-query.asciidoc Create get task API that falls back to the .tasks index 2016-06-14 13:37:34 -04:00
update.asciidoc Add support for waiting until a refresh occurs 2016-06-06 11:37:53 -04:00