mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
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()) {
|
||||
throw new MergeMappingException(mergeResult.conflicts());
|
||||
}
|
||||
existingMappers.put(index, newMapper);
|
||||
existingMappers.put(index, existingMapper);
|
||||
}
|
||||
} else {
|
||||
throw new IndexMissingException(new Index(index));
|
||||
|
Loading…
x
Reference in New Issue
Block a user