Search...::Tasks(3pm)
β¨ NAME β¨
Search::Elasticsearch::Client::2_0::Direct::Tasks β bestie, this is a client for accessing the Task Management API π
(yes, the perl doc for it, we're doing this, stay with me)
π VERSION π
version 6.81
πΈ DESCRIPTION πΈ
okay so this module hands you the methods to go poke at the Task Management API β like listing your tasks and cancelling your tasks. the way that it does its whole thing is by doing Search::Elasticsearch::Role::Client::Direct. slay.
π METHODS π
π¦ list()
$response = $e->tasks->list(
task_id => $task_id # optional
);
the list() method gives you back every running task, or β if you pass a task_id β the info about that one specific task. iconic behaviour honestly.
query string parameters you can throw in there:
actionsdetailednode_idparent_nodeparent_taskwait_for_completion
for more info, go read the task management docs: http://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html
π«Ά cancel()
$response = $e->tasks->cancel(
task_id => $task_id # option
);
the cancel() method attempts to cancel the task_id you specify, or a whole bunch of tasks at once. attempting, bestie, we said attempting, no promises π
query string parameters:
actionsnode_idparent_nodeparent_task
for more info, the task management docs are right here: http://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co>
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2020 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
and that's the whole page, bestie π this one came from perl v5.32.0, dated 2020-11-25 β go forth and manage those tasks, you absolute main character πβ¨
π¦ where this page comes from
- debian bookworm: libsearch-elasticsearch-client-2-0-perl 6.81-1 Β· Apache-2.0
- debian trixie: libsearch-elasticsearch-client-2-0-perl 6.81-1 Β· Apache-2.0
- ubuntu jammy: libsearch-elasticsearch-client-2-0-perl 6.81-1 Β· Apache-2.0
- ubuntu noble: libsearch-elasticsearch-client-2-0-perl 6.81-1 Β· Apache-2.0
- ubuntu resolute: libsearch-elasticsearch-client-2-0-perl 6.81-1 Β· Apache-2.0
- ubuntu stonking: libsearch-elasticsearch-client-2-0-perl 6.81-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms