# Are Bulk API script updates pushed to copy\_to fields?

**URL:** <https://discuss.elastic.co/t/are-bulk-api-script-updates-pushed-to-copy-to-fields/890>\
**Category:** Elasticsearch\
**Created:** [May 19, 2015, 9:54am UTC](https://discuss.elastic.co/t/are-bulk-api-script-updates-pushed-to-copy-to-fields/890 "2015-05-19T09:54:43Z")\
**Posts on this page:** 3\
**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:** [May 19, 2015, 9:54am UTC](https://discuss.elastic.co/t/are-bulk-api-script-updates-pushed-to-copy-to-fields/890/1 "2015-05-19T09:54:43Z")

</div>

Hi,

Let's say that I have a field a, that has copy\_to set to field b.  
When using the script property of the the bulk API, and I use the script to make a change to field a. Will the change be pushed to the copy\_to field (b)?

Many thanks

Bert

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [May 19, 2015, 11:06am UTC](https://discuss.elastic.co/t/are-bulk-api-script-updates-pushed-to-copy-to-fields/890/2 "2015-05-19T11:06:33Z")

</div>

Yes. Updates load the source modify it and then reindex. Copy\_to is part of  
the index process.

---

<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 6, 2017, 12:13am UTC](https://discuss.elastic.co/t/are-bulk-api-script-updates-pushed-to-copy-to-fields/890/3 "2017-07-06T00:13:19Z")

</div>


