# How to reindex from an frozen index?

**URL:** <https://discuss.elastic.co/t/how-to-reindex-from-an-frozen-index/208801>\
**Category:** Elasticsearch\
**Created:** [November 21, 2019, 2:36am UTC](https://discuss.elastic.co/t/how-to-reindex-from-an-frozen-index/208801 "2019-11-21T02:36:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stone\_xy](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@stone\_xy](https://discuss.elastic.co/u/stone_xy)\
**Post date:** [November 21, 2019, 2:36am UTC](https://discuss.elastic.co/t/how-to-reindex-from-an-frozen-index/208801/1 "2019-11-21T02:36:20Z")

</div>

ES Version: 7.4.2  
Steps:

1. create index and post some data:  
PUT logs  
{  
"settings": {  
"number\_of\_shards": 2,  
"number\_of\_replicas": 1  
}  
}

2. freeze the index  
POST logs/\_freeze

3. try to reindex this index  
POST \_reindex  
{  
"source": {  
"index": "logs"  
},  
"dest": {  
"index": "logs-new"  
}  
}  
step3 does not create index named "logs-new", and response with following:  
{  
"took" : 0,  
"timed\_out" : false,  
"total" : 0,  
"updated" : 0,  
"created" : 0,  
"deleted" : 0,  
"batches" : 0,  
"version\_conflicts" : 0,  
"noops" : 0,  
"retries" : {  
"bulk" : 0,  
"search" : 0  
},  
"throttled\_millis" : 0,  
"requests\_per\_second" : -1.0,  
"throttled\_until\_millis" : 0,  
"failures" :   
}

i tries to add "ignore\_throttled=false" to the url "POST \_reindex?ignore\_throttled=false", but es complains about illegal argument,  
"reason": "request [/\_reindex] contains unrecognized parameter: [ignore\_throttled]"

how can i reindex from an frozen index ?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 21, 2019, 8:22am UTC](https://discuss.elastic.co/t/how-to-reindex-from-an-frozen-index/208801/2 "2019-11-21T08:22:04Z")

</div>

> [@stone\_xy](#):
>
> how can i reindex from an frozen index ?

I don't think that's supported, although it looks feasible to support since frozen indices do support scrolling. Today your options are either to do the reindex "manually" with a scroll or else unfreeze the index while you're reindexing it.

---

<div class="post-metadata">

**Author:** ![stone\_xy](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@stone\_xy](https://discuss.elastic.co/u/stone_xy)\
**Post date:** [November 23, 2019, 6:04am UTC](https://discuss.elastic.co/t/how-to-reindex-from-an-frozen-index/208801/3 "2019-11-23T06:04:08Z")

</div>

i think maybe es reindex api should support "ignore\_throttled" parameter.  
that's a good solution for reindex from frozen indices?

---

<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:** [December 21, 2019, 6:04am UTC](https://discuss.elastic.co/t/how-to-reindex-from-an-frozen-index/208801/4 "2019-12-21T06:04:22Z")

</div>

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