use existing mapping when merging
This commit is contained in:
parent
0ef4000842
commit
4c9cf299e6
|
@ -262,7 +262,7 @@ public class MetaDataService extends AbstractComponent {
|
||||||
if (!ignoreConflicts && mergeResult.hasConflicts()) {
|
if (!ignoreConflicts && mergeResult.hasConflicts()) {
|
||||||
throw new MergeMappingException(mergeResult.conflicts());
|
throw new MergeMappingException(mergeResult.conflicts());
|
||||||
}
|
}
|
||||||
existingMappers.put(index, newMapper);
|
existingMappers.put(index, existingMapper);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new IndexMissingException(new Index(index));
|
throw new IndexMissingException(new Index(index));
|
||||||
|
|
Loading…
Reference in New Issue