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…
Reference in New Issue