# Async execution of reindex using transport client

**URL:** https://discuss.elastic.co/t/async-execution-of-reindex-using-transport-client/100959
**Category:** Elasticsearch
**Created:** [September 19, 2017, 5:48am UTC](https://discuss.elastic.co/t/async-execution-of-reindex-using-transport-client/100959 "2017-09-19T05:48:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![an.secure](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@an.secure](https://discuss.elastic.co/u/an.secure)
#### Post date: [September 19, 2017, 5:48am UTC](https://discuss.elastic.co/t/async-execution-of-reindex-using-transport-client/100959/1 "2017-09-19T05:48:04Z")

</div>

When we call the rest endpoint for reindexing with wait\_for\_completion=false, we get the task id to track the progress on the reindexing task later on.

How can we achieve the same using Transport client from the Java code?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 17, 2017, 5:48am UTC](https://discuss.elastic.co/t/async-execution-of-reindex-using-transport-client/100959/2 "2017-10-17T05:48:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
