# Multiple children relations for single parent in "join" type

**URL:** <https://discuss.elastic.co/t/multiple-children-relations-for-single-parent-in-join-type/120265>\
**Category:** Elasticsearch\
**Created:** [February 16, 2018, 10:32pm UTC](https://discuss.elastic.co/t/multiple-children-relations-for-single-parent-in-join-type/120265 "2018-02-16T22:32:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ei-grad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ei-grad/32/5775_2.png) [@ei-grad](https://discuss.elastic.co/u/ei-grad)\
**Post date:** [February 16, 2018, 10:32pm UTC](https://discuss.elastic.co/t/multiple-children-relations-for-single-parent-in-join-type/120265/1 "2018-02-16T22:32:54Z")

</div>

The [join datatype documentation](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/parent-join.html) says that relations should be specified in `{"parent": "child"}` manner. Am I understand correctly, that this means that it is not possible to add multiple relations for a single parent?

---

<div class="post-metadata">

**Author:** ![jimczi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jimczi/32/47985_2.png) [@jimczi](https://discuss.elastic.co/u/jimczi)\
**Post date:** [February 23, 2018, 9:54am UTC](https://discuss.elastic.co/t/multiple-children-relations-for-single-parent-in-join-type/120265/2 "2018-02-23T09:54:06Z")

</div>

It is still possible to have multiple relations in a single parent. See [https://www.elastic.co/guide/en/elasticsearch/reference/6.x/parent-join.html#\_multiple\_children\_per\_parent](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/parent-join.html#_multiple_children_per_parent) which explains that the value can be an array of children.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 23, 2018, 10:04am UTC](https://discuss.elastic.co/t/multiple-children-relations-for-single-parent-in-join-type/120265/3 "2018-03-23T10:04:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
