# Reindex or sciling index

**URL:** <https://discuss.elastic.co/t/reindex-or-sciling-index/238393>\
**Category:** Elasticsearch\
**Created:** [June 24, 2020, 6:48am UTC](https://discuss.elastic.co/t/reindex-or-sciling-index/238393 "2020-06-24T06:48:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![umay\_fb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umay_fb/32/60582_2.png) [@umay\_fb](https://discuss.elastic.co/u/umay_fb)\
**Post date:** [June 24, 2020, 6:48am UTC](https://discuss.elastic.co/t/reindex-or-sciling-index/238393/1 "2020-06-24T06:48:38Z")

</div>

i have one index with size 400GB. its too big so i want slicing it,i do it with reindex to monthly. but i get duplicate hit in index pattern. how to solve it? can i reindex from existing index not copy the data but cut the data from existing index?

---

<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:** [June 24, 2020, 6:56am UTC](https://discuss.elastic.co/t/reindex-or-sciling-index/238393/2 "2020-06-24T06:56:02Z")

</div>

> [@umay\_fb](#):
>
> but i get duplicate hit in index pattern

Can you elaborate a little more on what you mean by that?

---

<div class="post-metadata">

**Author:** ![umay\_fb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umay_fb/32/60582_2.png) [@umay\_fb](https://discuss.elastic.co/u/umay_fb)\
**Post date:** [June 24, 2020, 7:08am UTC](https://discuss.elastic.co/t/reindex-or-sciling-index/238393/3 "2020-06-24T07:08:50Z")

</div>

my existing index : customer-lpb and my new index after reindex is : customer-lpb-feb. my index pattern : customer-lpb\*. i get a duplicate in index pattern that i reindex. can reindex not copy the data from existing index but cut the index?

---

<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:** [June 24, 2020, 7:11am UTC](https://discuss.elastic.co/t/reindex-or-sciling-index/238393/4 "2020-06-24T07:11:32Z")

</div>

> [@umay\_fb](#):
>
> can reindex not copy the data from existing index but cut the index

No, you will need to run a [delete by query](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html) for that.

You can always change your patterns;

- `customer-lpb` - note, no `*`
- `customer-lpb-*` - to cater for the monthly indices

Also, you should really use dates rather than month names, eg `customer-lpb-2020-02`, not `customer-lpb-feb`.

---

<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 22, 2020, 7:11am UTC](https://discuss.elastic.co/t/reindex-or-sciling-index/238393/5 "2020-07-22T07:11:41Z")

</div>

Closed on July 22, 2020, 7:11am UTC

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