Skip to content

Commit 8ff3f82

Browse files
committed
fixup
1 parent 456df30 commit 8ff3f82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/framework/src/main/java/org/elasticsearch/datageneration/MappingGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ public Mapping generate(Template template) {
6464

6565
rawMapping.put("_doc", topLevelMappingParameters);
6666

67-
if (specification.fullyDynamicMapping() == false) {
67+
if (specification.fullyDynamicMapping()) {
68+
// Has to be "true" for fully dynamic mapping
6869
topLevelMappingParameters.remove("dynamic");
6970
return new Mapping(rawMapping, lookup);
7071
}

0 commit comments

Comments
 (0)