tasks {elastic} | R Documentation |
Elasticsearch tasks endpoints
Description
Elasticsearch tasks endpoints
Usage
tasks(
conn,
task_id = NULL,
nodes = NULL,
actions = NULL,
parent_task_id = NULL,
detailed = FALSE,
group_by = NULL,
wait_for_completion = FALSE,
timeout = NULL,
raw = FALSE,
...
)
tasks_cancel(
conn,
node_id = NULL,
task_id = NULL,
nodes = NULL,
actions = NULL,
parent_task_id = NULL,
detailed = FALSE,
group_by = NULL,
wait_for_completion = FALSE,
timeout = NULL,
raw = FALSE,
...
)
Arguments
conn |
an Elasticsearch connection object, see |
task_id |
a task id |
nodes |
(character) The nodes |
actions |
(character) Actions |
parent_task_id |
(character) A parent task ID |
detailed |
(character) get detailed results. Default: |
group_by |
(character) "nodes" (default, i.e., NULL) or "parents" |
wait_for_completion |
(logical) wait for completion. Default: |
timeout |
(integer) timeout time |
raw |
If |
... |
Curl args passed on to crul::verb-GET or crul::verb-POST |
node_id |
a node id |
References
https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html
Examples
## Not run:
x <- connect()
tasks(x)
# tasks(x, parent_task_id = "1234")
# delete a task
# tasks_cancel(x)
## End(Not run)
[Package elastic version 1.2.0 Index]