# Duplicate field during reindex

**URL:** <https://discuss.elastic.co/t/duplicate-field-during-reindex/193534>\
**Category:** Elasticsearch\
**Created:** [August 2, 2019, 12:33pm UTC](https://discuss.elastic.co/t/duplicate-field-during-reindex/193534 "2019-08-02T12:33:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mihalikv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mihalikv/32/26793_2.png) [@mihalikv](https://discuss.elastic.co/u/mihalikv)\
**Post date:** [August 2, 2019, 12:38pm UTC](https://discuss.elastic.co/t/duplicate-field-during-reindex/193534/2 "2019-08-02T12:38:32Z")

</div>

Hi, I search little bit. Maybe manually define \_source.include ?

> [@Reindex 5.4.0 to 7.1.1](https://discuss.elastic.co/t/reindex-5-4-0-to-7-1-1/186512/4):
>
> I figured it out. I had to remove the \_type, but that still threw the exception. So i also had to be explicit about what i wanted to include. POST \_reindex?wait\_for\_completion=false { "source": { "remote": { "host": "http://training-es5.videotel-stage.com:9200" }, "index": "cts-training", "\_source": { "include": ["key", "origin", "originKey", "generationDate", "who", "when", "where", "what", "verified"] }, "query": { "bool": {"must\_not":…

---

_[View the full topic](https://discuss.elastic.co/t/duplicate-field-during-reindex/193534)._
