# Update Parent file with Child file field

**URL:** <https://discuss.elastic.co/t/update-parent-file-with-child-file-field/175138>\
**Category:** Elasticsearch\
**Created:** [April 3, 2019, 8:45am UTC](https://discuss.elastic.co/t/update-parent-file-with-child-file-field/175138 "2019-04-03T08:45:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ek9boy](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@ek9boy](https://discuss.elastic.co/u/ek9boy)\
**Post date:** [April 3, 2019, 8:45am UTC](https://discuss.elastic.co/t/update-parent-file-with-child-file-field/175138/1 "2019-04-03T08:45:27Z")

</div>

Hi,

**I have a parent file:**  
ID - 123  
Name - ABA  
BTT - 000  
BA -  
LOC -  
File\_ref -

**I have a child file:**  
ID - 999  
Name - ABA  
BTT - 000  
BA - BA1  
LOC - confdez  
File\_ref - 123

How can i update the parent with the missing BA & LOC fields?

The child is linked to the parent by the File\_ref.

Where can this be updated & if so what filters can be used.

Thanks! 🙂

---

<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:** [May 1, 2019, 8:45am UTC](https://discuss.elastic.co/t/update-parent-file-with-child-file-field/175138/2 "2019-05-01T08:45:36Z")

</div>

Closed on May 1, 2019, 8:45am UTC

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