# Is there a way to read a dumped Elasticsearch index with Java?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-read-a-dumped-elasticsearch-index-with-java/301654>\
**Category:** Elasticsearch\
**Created:** [April 5, 2022, 4:41pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-read-a-dumped-elasticsearch-index-with-java/301654 "2022-04-05T16:41:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeThomsen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikethomsen/32/19378_2.png) [@MikeThomsen](https://discuss.elastic.co/u/MikeThomsen)\
**Post date:** [April 5, 2022, 4:41pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-read-a-dumped-elasticsearch-index-with-java/301654/1 "2022-04-05T16:41:09Z")

</div>

Is there a Java API for reading the contents of an Elasticsearch index that has been dumped to disk with the 2.X backup tools? We'd prefer to not set up a 2.X cluster and do rolling upgrades and unfortunately, the folks in our organization who are responsible for this data won't send it to us in any other form than a raw dump of their cluster. I've poked around with the Lucene APIs, and I can't seem to get Lucene to read the data.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [April 7, 2022, 7:30am UTC](https://discuss.elastic.co/t/is-there-a-way-to-read-a-dumped-elasticsearch-index-with-java/301654/2 "2022-04-07T07:30:34Z")

</div>

Can you explain, what the `2.x` backup tools are?

Apart from that, have you considered [reindex from remote](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/docs-reindex.html#reindex-from-remote)?

---

<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:** [May 5, 2022, 7:31am UTC](https://discuss.elastic.co/t/is-there-a-way-to-read-a-dumped-elasticsearch-index-with-java/301654/3 "2022-05-05T07:31:19Z")

</div>

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