# Default Configurations in elasticSearch

**URL:** <https://discuss.elastic.co/t/default-configurations-in-elasticsearch/17141>\
**Category:** Elasticsearch\
**Created:** [April 23, 2014, 2:15am UTC](https://discuss.elastic.co/t/default-configurations-in-elasticsearch/17141 "2014-04-23T02:15:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayasimha](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@Jayasimha](https://discuss.elastic.co/u/Jayasimha)\
**Post date:** [April 23, 2014, 2:15am UTC](https://discuss.elastic.co/t/default-configurations-in-elasticsearch/17141/1 "2014-04-23T02:15:32Z")

</div>

Hi All,

I want to find out where will the default settings be stored in  
elasticsearch. For eg., a config setting like 'script.disable\_dynamic' is  
set to false by default. But where and how does the node during set up or  
later know about the default setting if that setting is not changed using  
elasticsearch.yml.

Please let me know in case anybody has some clue about this

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0669d651-6076-4154-80a6-feb145a046e3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0669d651-6076-4154-80a6-feb145a046e3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [April 23, 2014, 9:45pm UTC](https://discuss.elastic.co/t/default-configurations-in-elasticsearch/17141/2 "2014-04-23T21:45:17Z")

</div>

The only way to find the default is to search inside the code. If you do  
not have the source locally, you can always search the project on Github  
(which uses Elasticsearch BTW). The properties are organized by module, so  
you normally can just go to the corresponding module/service class without  
needing to search.

For example, here is the script.disable\_dynamic setting:

[https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/script/ScriptService.java#L78](https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/script/ScriptService.java#L78)

--  
Ivan

On Tue, Apr 22, 2014 at 7:15 PM, Jayasimha m.l [jayasimha.m.l@gmail.com](mailto:jayasimha.m.l@gmail.com)wrote:

> Hi All,
> 
> I want to find out where will the default settings be stored in  
> elasticsearch. For eg., a config setting like 'script.disable\_dynamic' is  
> set to false by default. But where and how does the node during set up or  
> later know about the default setting if that setting is not changed using  
> elasticsearch.yml.
> 
> Please let me know in case anybody has some clue about this
> 
> --  
> 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).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/0669d651-6076-4154-80a6-feb145a046e3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0669d651-6076-4154-80a6-feb145a046e3%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/0669d651-6076-4154-80a6-feb145a046e3%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0669d651-6076-4154-80a6-feb145a046e3%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQASyub%2Bjcdh0aT%2BDkWsXi%2BFkV6jakkL7WGJGHhbvL7qXg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQASyub%2Bjcdh0aT%2BDkWsXi%2BFkV6jakkL7WGJGHhbvL7qXg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:33am UTC](https://discuss.elastic.co/t/default-configurations-in-elasticsearch/17141/3 "2017-07-06T01:33:56Z")

</div>


