Update multiple mappings for not_analyzed


(Michael Potts) #1

I have a several hundred elements that need to be updated with the not_analyzed index setting across multiple indexes. I have put together a file for each index that needs the update, however, when I push the mapping update to an index it tells me "mapping type is missing". There is data in each of these indexes that I cannot afford to lose so there's no way for me to delete them and create new indexes. How do I put these updates so that each element can be updated from a single json? Doing each element individually is unacceptable as this is a simple function.

ES: 2.4.0
LS: 2.3.4
Kibana: 4.4.1
Platform: Windows


(system) #2