# Parent/Child mapping with copy\_to

**URL:** <https://discuss.elastic.co/t/parent-child-mapping-with-copy-to/28515>\
**Category:** Elasticsearch\
**Created:** [September 2, 2015, 10:34am UTC](https://discuss.elastic.co/t/parent-child-mapping-with-copy-to/28515 "2015-09-02T10:34:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bert\_Vanpeteghem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bert_vanpeteghem/32/96191_2.png) [@Bert\_Vanpeteghem](https://discuss.elastic.co/u/Bert_Vanpeteghem)\
**Post date:** [September 2, 2015, 10:34am UTC](https://discuss.elastic.co/t/parent-child-mapping-with-copy-to/28515/1 "2015-09-02T10:34:44Z")

</div>

We currently are using a nested mapping and using copy\_to to copy values up to the parent documents, this works ok.

We are now considering to move to a parent/child mapping, but we are wondering (explorarotory tests failed) if copy\_to should still work, and how we could get it to work in a parent/child mapping scenario.

---

<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:** [July 5, 2017, 11:52pm UTC](https://discuss.elastic.co/t/parent-child-mapping-with-copy-to/28515/2 "2017-07-05T23:52:38Z")

</div>


