# Redindex, version\_type external

**URL:** <https://discuss.elastic.co/t/redindex-version-type-external/271587>\
**Category:** Elasticsearch\
**Tags:** reindex\
**Created:** [April 29, 2021, 5:43am UTC](https://discuss.elastic.co/t/redindex-version-type-external/271587 "2021-04-29T05:43:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kalpa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kalpa/32/82948_2.png) [@Kalpa](https://discuss.elastic.co/u/Kalpa)\
**Post date:** [April 29, 2021, 5:43am UTC](https://discuss.elastic.co/t/redindex-version-type-external/271587/1 "2021-04-29T05:43:23Z")

</div>

HI All,  
Reindex can be done multiple times as per the documentation,  
during this phase, for example.

1. reindexed at time 1.
2. deleted some docs from the source
3. added some docs to the source.
4. reindex with version\_type external to reindex only the delta.  
5 but deleted documents wont be dleted in the destination,  
any way to handle this?  
thanks,  
Kalpa

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 29, 2021, 6:15am UTC](https://discuss.elastic.co/t/redindex-version-type-external/271587/2 "2021-04-29T06:15:16Z")

</div>

The only way to do this that I can think of is to use different indices when you run the reindex again.

---

<div class="post-metadata">

**Author:** ![Kalpa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kalpa/32/82948_2.png) [@Kalpa](https://discuss.elastic.co/u/Kalpa)\
**Post date:** [April 29, 2021, 7:48am UTC](https://discuss.elastic.co/t/redindex-version-type-external/271587/3 "2021-04-29T07:48:34Z")

</div>

HI Warkolm,  
thanks for the response, I did not get the way you have mentioned, different indices? how does it solve? thanks again.

thanks,  
Kalpa

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 29, 2021, 8:16am UTC](https://discuss.elastic.co/t/redindex-version-type-external/271587/4 "2021-04-29T08:16:43Z")

</div>

Let's say you reindex from `index` to `index0`.  
Rather than run another reindex from `index` to `index0`, reindex from `index` to `index1`.

---

<div class="post-metadata">

**Author:** ![Kalpa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kalpa/32/82948_2.png) [@Kalpa](https://discuss.elastic.co/u/Kalpa)\
**Post date:** [April 29, 2021, 8:42am UTC](https://discuss.elastic.co/t/redindex-version-type-external/271587/5 "2021-04-29T08:42:56Z")

</div>

so, it means again the full reindex to a different dest? that is the one solution, otherwise we may have to do programatically.  
thanks,  
Kalpa

---

<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 27, 2021, 8:43am UTC](https://discuss.elastic.co/t/redindex-version-type-external/271587/6 "2021-05-27T08:43:17Z")

</div>

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