Put mapping on existed index got conflict due to index template.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Put mapping on existed index got conflict due to index template.

Howard
This post has NOT been accepted by the mailing list yet.
Here is the steps:
1. Put index template A with some common fields like B.
2. Create index C with mapping D.
3. Put new mapping E(based on mapping D only added a new field) into index C. The mapping D doesn't have field B(in index template) field.
So I got MergeMappingException:
Merge failed with failures {[Cannot update path in B value. Value is B path in merged mapping is missing]}

Since new mapping doesn't contain the field that defined in template, so conflict comes out. Is there any solution for this problem in mapping upgrade?
Loading...