# Java api equivalent to the get settings for an index http api

**URL:** <https://discuss.elastic.co/t/java-api-equivalent-to-the-get-settings-for-an-index-http-api/8804>\
**Category:** Elasticsearch\
**Created:** [August 21, 2012, 7:23pm UTC](https://discuss.elastic.co/t/java-api-equivalent-to-the-get-settings-for-an-index-http-api/8804 "2012-08-21T19:23:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wes\_Plunk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wes_plunk/32/2446_2.png) [@Wes\_Plunk](https://discuss.elastic.co/u/Wes_Plunk)\
**Post date:** [August 21, 2012, 7:23pm UTC](https://discuss.elastic.co/t/java-api-equivalent-to-the-get-settings-for-an-index-http-api/8804/1 "2012-08-21T19:23:50Z")

</div>

Does this exist in the Java API?  
[http://www.elasticsearch.org/guide/reference/api/admin-indices-get-settings.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-get-settings.html)

--

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [August 21, 2012, 9:16pm UTC](https://discuss.elastic.co/t/java-api-equivalent-to-the-get-settings-for-an-index-http-api/8804/2 "2012-08-21T21:16:17Z")

</div>

ClusterStateRequest is probably what you are looking for.

All REST calls get transformed into Java API calls. The REST call you  
highlighted can be found at RestGetSettingsAction.

--  
Ivan

On Tue, Aug 21, 2012 at 12:23 PM, Wes Plunk [wes@wesandemily.com](mailto:wes@wesandemily.com) wrote:

> Does this exist in the Java API?  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-get-settings.html)
> 
> --

--

---

<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:** [July 6, 2017, 3:15am UTC](https://discuss.elastic.co/t/java-api-equivalent-to-the-get-settings-for-an-index-http-api/8804/3 "2017-07-06T03:15:34Z")

</div>


