# Bulk api for parent/child documents in ElasticSearch 6x

**URL:** https://discuss.elastic.co/t/bulk-api-for-parent-child-documents-in-elasticsearch-6x/162203
**Category:** Elasticsearch
**Created:** [December 27, 2018, 6:19am UTC](https://discuss.elastic.co/t/bulk-api-for-parent-child-documents-in-elasticsearch-6x/162203 "2018-12-27T06:19:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Tarun\_Jangra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tarun_jangra/32/1426_2.png) [@Tarun\_Jangra](https://discuss.elastic.co/u/Tarun_Jangra)
#### Post date: [December 27, 2018, 6:19am UTC](https://discuss.elastic.co/t/bulk-api-for-parent-child-documents-in-elasticsearch-6x/162203/1 "2018-12-27T06:19:38Z")

</div>

I can not find relevant example of parent/child relations getting indexed using bulk API. Any clue

1. How to push child documents?
2. How to put parent attribute to let elasticsearch know about relation connection?

Appreciate your help.

---

<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: [January 24, 2019, 6:19am UTC](https://discuss.elastic.co/t/bulk-api-for-parent-child-documents-in-elasticsearch-6x/162203/2 "2019-01-24T06:19:39Z")

</div>

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