mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
dynamic templates might cause elasticsearch to keep resync mappings, closes #1257.
This commit is contained in:
parent
741b8dd70b
commit
8d2123a452
@ -216,7 +216,7 @@ public class DocumentMapperParser extends AbstractIndexComponent {
|
||||
XContentParser xContentParser = null;
|
||||
try {
|
||||
xContentParser = XContentFactory.xContent(source).createParser(source);
|
||||
root = xContentParser.map();
|
||||
root = xContentParser.mapOrdered();
|
||||
} catch (IOException e) {
|
||||
throw new MapperParsingException("Failed to parse mapping definition", e);
|
||||
} finally {
|
||||
|
Loading…
x
Reference in New Issue
Block a user