Skip to content

Commit

Permalink
Test nested then dotted
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbarny committed Mar 8, 2024
1 parent b8d0c4e commit cb28cdb
Showing 1 changed file with 15 additions and 0 deletions.
Expand Up @@ -1744,6 +1744,21 @@ public void testMergeDottedAndNestedNotation() throws IOException {
}
}
}""");

assertMergeEquals(List.of(mapping2, mapping1), """
{
"_doc" : {
"properties" : {
"parent" : {
"properties" : {
"child" : {
"type" : "keyword"
}
}
}
}
}
}""");
}

public void testDottedAndNestedNotationInSameMapping() throws IOException {
Expand Down

0 comments on commit cb28cdb

Please sign in to comment.