Default Configurations in elasticSearch


(Jayasimha) #1

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


(Ivan Brusic) #2

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

--
Ivan

On Tue, Apr 22, 2014 at 7:15 PM, Jayasimha m.l jayasimha.m.l@gmail.comwrote:

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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0669d651-6076-4154-80a6-feb145a046e3%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit 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.


(system) #3