# Get index settings

**URL:** <https://discuss.elastic.co/t/get-index-settings/12162>\
**Category:** Elasticsearch\
**Created:** [May 29, 2013, 3:21am UTC](https://discuss.elastic.co/t/get-index-settings/12162 "2013-05-29T03:21:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinh](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@vinh](https://discuss.elastic.co/u/vinh)\
**Post date:** [May 29, 2013, 3:21am UTC](https://discuss.elastic.co/t/get-index-settings/12162/1 "2013-05-29T03:21:29Z")

</div>

Is there a Java API for this? There is an UpdateSettingsRequest, but I don't see a corresponding one to get the settings back.

Thanks,  
-Vinh

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [May 29, 2013, 7:44am UTC](https://discuss.elastic.co/t/get-index-settings/12162/2 "2013-05-29T07:44:26Z")

</div>

You have to use a ClusterStateRequest and get metadata.indices.settings.

Have a look at RestGetSettingsAction class.

HTH

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 29 mai 2013 à 05:21, vinh [vinh@loggly.com](mailto:vinh@loggly.com) a écrit :

> Is there a Java API for this? There is an UpdateSettingsRequest, but I don't see a corresponding one to get the settings back.
> 
> Thanks,  
> -Vinh
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![vinh](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@vinh](https://discuss.elastic.co/u/vinh)\
**Post date:** [May 30, 2013, 8:02am UTC](https://discuss.elastic.co/t/get-index-settings/12162/3 "2013-05-30T08:02:37Z")

</div>

Thanks David!

On May 29, 2013, at 12:44 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> You have to use a ClusterStateRequest and get metadata.indices.settings.
> 
> Have a look at RestGetSettingsAction class.
> 
> HTH
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 29 mai 2013 à 05:21, vinh [vinh@loggly.com](mailto:vinh@loggly.com) a écrit :
> 
> > Is there a Java API for this? There is an UpdateSettingsRequest, but I don't see a corresponding one to get the settings back.
> > 
> > Thanks,  
> > -Vinh
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:33am UTC](https://discuss.elastic.co/t/get-index-settings/12162/4 "2017-07-06T02:33:56Z")

</div>


