It seems that your export mapping collects all the data (from the mapping) but your import mappings doesn't import everything.
For example, I see this in my mapping file from an export (which is correct):
"dynamic" : "strict",
"_id" : {
"path" : "key"
},
"_timestamp" : {
"enabled" : true,
"store" : true
},
"_ttl" : {
"enabled" : true
},
But after I import this mapping, the above data is lost. If I manually take the JSON (for any given mapping) out of the mapping export file, I can manually PUT it (via curl) and it saves everything correctly.
It seems that your export mapping collects all the data (from the mapping) but your import mappings doesn't import everything.
For example, I see this in my mapping file from an export (which is correct):
But after I import this mapping, the above data is lost. If I manually take the JSON (for any given mapping) out of the mapping export file, I can manually PUT it (via curl) and it saves everything correctly.