# Reindex in progress, not able to access data by then

**URL:** <https://discuss.elastic.co/t/reindex-in-progress-not-able-to-access-data-by-then/206669>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [November 5, 2019, 8:24pm UTC](https://discuss.elastic.co/t/reindex-in-progress-not-able-to-access-data-by-then/206669 "2019-11-05T20:24:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhruv2204](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruv2204/32/57207_2.png) [@dhruv2204](https://discuss.elastic.co/u/dhruv2204)\
**Post date:** [November 5, 2019, 8:24pm UTC](https://discuss.elastic.co/t/reindex-in-progress-not-able-to-access-data-by-then/206669/1 "2019-11-05T20:24:07Z")

</div>

Hi Team

I am reindexing from a remote cluster a dataset of around 180GB. The complete source index is rather bigger (around 1.5tb) but i am using time query while reindexing data of 3 months only.

The task is still in progress and going on slowly. Till now it's reached about 20gb in the new index. The new destination index status shows green if i check the health of the index.

While creating the new index, i have defined a new mapping set to disallow dynamic mapping for certain fields. Also, there are the settings which i have provided

```
"settings" : {
        "number_of_shards" : 10,
        "number_of_replicas" : 0,
        "refresh_interval": -1
    },

```

Can i not use the new index data until it's completed? Because when i am checking in kibana, index patterns it says:

"Couldn't find any Elasticsearch data  
You'll need to index some data into Elasticsearch before you can create an index pattern.."

Although, the elasticsearch index management shows the index with health green and status open.

Both the cluster stacks are on same version: 7.4.2

Can you please help with this? Also, is the method used to reindex data is correct or can be more optimized?

Thanks in advance  
Dhruv

---

<div class="post-metadata">

**Author:** ![dhruv2204](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruv2204/32/57207_2.png) [@dhruv2204](https://discuss.elastic.co/u/dhruv2204)\
**Post date:** [November 5, 2019, 9:00pm UTC](https://discuss.elastic.co/t/reindex-in-progress-not-able-to-access-data-by-then/206669/2 "2019-11-05T21:00:48Z")

</div>

Update: I created a new blank index with similar settings and put some docs in it. It was not visible in kibana until i added a replica to the index. So, kibana would require a replica (which is by default for a new index) to create index patterns.

So, if i create a replica of my new index which is in process of reindexing, will that further slower down the process? Should i create it when the reindexing completes?

Please suggest.

Thanks  
Dhruv

---

<div class="post-metadata">

**Author:** ![jonathan\_rowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonathan_rowe/32/49275_2.png) [@jonathan\_rowe](https://discuss.elastic.co/u/jonathan_rowe)\
**Post date:** [November 6, 2019, 8:16pm UTC](https://discuss.elastic.co/t/reindex-in-progress-not-able-to-access-data-by-then/206669/3 "2019-11-06T20:16:26Z")

</div>

> <https://stackoverflow.com/questions/36449506/what-exactly-does-1-refresh-interval-in-elasticsearch-mean/36450343#36450343>

---

<div class="post-metadata">

**Author:** ![dhruv2204](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruv2204/32/57207_2.png) [@dhruv2204](https://discuss.elastic.co/u/dhruv2204)\
**Post date:** [November 10, 2019, 6:58pm UTC](https://discuss.elastic.co/t/reindex-in-progress-not-able-to-access-data-by-then/206669/4 "2019-11-10T18:58:29Z")

</div>

Thanks for referring to this. I have already set my index refresh  
-interval to -1. My reindex is not yet complete. It has still reached to 92gb only as I post this.

---

<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 8, 2019, 7:08pm UTC](https://discuss.elastic.co/t/reindex-in-progress-not-able-to-access-data-by-then/206669/5 "2019-12-08T19:08:47Z")

</div>

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