dynamic templates might cause elasticsearch to keep resync mappings, closes #1257.

This commit is contained in:
Shay Banon 2011-08-18 21:13:15 +03:00
parent 741b8dd70b
commit 8d2123a452
1 changed files with 1 additions and 1 deletions

View File

@ -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 {