---
"Parent":
- do:
indices.create:
index: test_1
body:
settings:
number_of_shards: 5
mappings:
test:
_parent: { type: "foo" }
cluster.health:
wait_for_status: yellow
index:
type: test
id: 1
parent: 5
body: { foo: bar }
catch: missing
delete:
parent: 1