# Reindex complications

**URL:** <https://discuss.elastic.co/t/reindex-complications/48522>\
**Category:** Elasticsearch\
**Created:** [April 27, 2016, 8:54am UTC](https://discuss.elastic.co/t/reindex-complications/48522 "2016-04-27T08:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dom\_Sie](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@Dom\_Sie](https://discuss.elastic.co/u/Dom_Sie)\
**Post date:** [April 27, 2016, 8:54am UTC](https://discuss.elastic.co/t/reindex-complications/48522/1 "2016-04-27T08:54:20Z")

</div>

Hi,

when i am start reindex from old index/type to new index/type there are a few complications:

the docs takes fields and their contents that do not exist in the new index / type / mapping [but in the old index...]

Field Types and their contents are not adapted to the new mapping; it is the given [by the old index] field mapping used

I try to disable the dynamic field mapping [with "dynamic": "strict"], but when repeated the reindex no doc add to the new index.

ES = 1.4.4  
Reindex Tool = elasticsearch-reindex

Is there a way to add only the fields and their contents that also exists in the new index and also adapted the field types and their contents to the new mapping?

---

<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:** [April 27, 2016, 1:46pm UTC](https://discuss.elastic.co/t/reindex-complications/48522/2 "2016-04-27T13:46:26Z")

</div>

> [@Dom\_Sie](#):
>
> ES = 1.4.4

You are unlikely to get help for such an old version. Sadly, a year is a long, long time in a project like Elasticsearch. But maybe you'll get lucky!

> [@Dom\_Sie](#):
>
> "dynamic": "strict"

Maybe you want `"dynamic": false` instead? That'll index the documents but the fields you've declared in the mapping won't be made available for search. They'll just be in the `_source`. It is my favorite value for `dynamic`.

---

<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, 10:55pm UTC](https://discuss.elastic.co/t/reindex-complications/48522/3 "2017-07-05T22:55:57Z")

</div>


