# Reindexing time series index:

**URL:** <https://discuss.elastic.co/t/reindexing-time-series-index/270662>\
**Category:** Elasticsearch\
**Created:** [April 20, 2021, 7:04am UTC](https://discuss.elastic.co/t/reindexing-time-series-index/270662 "2021-04-20T07:04:23Z")\
**Posts on this page:** 4\
**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 20, 2021, 7:04am UTC](https://discuss.elastic.co/t/reindexing-time-series-index/270662/1 "2021-04-20T07:04:23Z")

</div>

Hi all,  
Here is the scenarios, I need help,

1. I have weekly based indices.
2. for months time filter, I refer last 5 indices. for example, topic\_2021\_1, topic\_2021\_2, topic\_2021\_3, topic\_2021\_4, topic\_2021\_5.

Suppose in the meantime of re-indexing.

1. I am creating a new index, for example.  
topic\_2021\_1\_cut.
2. during the re-indexing process,  
some part of the data could be moving from topic\_2021\_1 to topic\_2021\_1\_cut.
3. the alias will be like 'topic\_2021\_1\*'.
4. so, here, when the re-indexing process is on and data has been written into topic\_2021\_1\_cut index. the alias may read the duplicate data from these two ( topic\_2021\_1 & topic\_2021\_1\_cut) indices.  
Question is how the duplicates are handled. will it generate duplicate entries in the query? or how to handle this scenario of reindexing.

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 20, 2021, 7:08am UTC](https://discuss.elastic.co/t/reindexing-time-series-index/270662/2 "2021-04-20T07:08:32Z")

</div>

I think that will depend greatly on the query, but I wouldn't be surprised if there was duplicate data given in the response.

---

<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 20, 2021, 8:03am UTC](https://discuss.elastic.co/t/reindexing-time-series-index/270662/3 "2021-04-20T08:03:10Z")

</div>

Thanks for the clarification.

---

<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 18, 2021, 8:03am UTC](https://discuss.elastic.co/t/reindexing-time-series-index/270662/4 "2021-05-18T08:03:16Z")

</div>

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