Disable dynamic mappings for already created index?


(Selvam) #1

Hi All,

we are using elasticsearch 1.3.7.

can any one tell me ,
how to disable dynamic mappings for all indices which is created already?

i know about index.mapper.dynamic: false ( in elasticsearch.yml )
but is there any dynamic way to disable it?
thanks in advance.


(Mark Walkom) #2

Check out https://www.elastic.co/guide/en/elasticsearch/reference/5.0/dynamic-mapping.html#_disabling_automatic_type_creation


(Selvam) #3

thanks much @warkolm

but this is for 5.0 ( master ) version .

i don't see the doc page 1.3


(Mark Walkom) #4

See https://www.elastic.co/guide/en/elasticsearch/reference/1.3/mapping-dynamic-mapping.html, it's setting it to strict.

Also, you should really, really upgrade.


(Selvam) #5

thanks much @warkolm

will check based on this


(system) #6

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