# org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsResponse deprecated in 8.x

**URL:** <https://discuss.elastic.co/t/org-elasticsearch-action-admin-indices-exists-indices-indicesexistsresponse-deprecated-in-8-x/316332>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [October 11, 2022, 1:30pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-admin-indices-exists-indices-indicesexistsresponse-deprecated-in-8-x/316332 "2022-10-11T13:30:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pachidermus](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@Pachidermus](https://discuss.elastic.co/u/Pachidermus)\
**Post date:** [October 11, 2022, 1:30pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-admin-indices-exists-indices-indicesexistsresponse-deprecated-in-8-x/316332/1 "2022-10-11T13:30:38Z")

</div>

Hi,

org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsResponse was available in 7.x but no longer in 8.x. What is the replacement for this API (needed to update a plugin to support 8.x)?

Thanks.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 11, 2022, 2:11pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-admin-indices-exists-indices-indicesexistsresponse-deprecated-in-8-x/316332/2 "2022-10-11T14:11:10Z")

</div>

I think you should run a GetIndex call and if the index does not exist, catch the 404 error basically.

---

<div class="post-metadata">

**Author:** ![Pachidermus](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@Pachidermus](https://discuss.elastic.co/u/Pachidermus)\
**Post date:** [October 11, 2022, 5:16pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-admin-indices-exists-indices-indicesexistsresponse-deprecated-in-8-x/316332/3 "2022-10-11T17:16:34Z")

</div>

Thanks for the hint.

---

<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:** [November 8, 2022, 5:17pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-admin-indices-exists-indices-indicesexistsresponse-deprecated-in-8-x/316332/4 "2022-11-08T17:17:19Z")

</div>

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