Look at the content in Official website(https://www.elastic.co/guide/en/elasticsearch/reference/6.5/tasks.html):
How can I get related tasks performed by the current client?
Look at the content in Official website(https://www.elastic.co/guide/en/elasticsearch/reference/6.5/tasks.html):
I don't think you can.
The link you pasted is related to long running tasks on the server side, not the client side.
ok,thanks
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.