# Why does reindex stop at 1000 documents?

**URL:** <https://discuss.elastic.co/t/why-does-reindex-stop-at-1000-documents/65125>\
**Category:** Elasticsearch\
**Created:** [November 6, 2016, 8:31am UTC](https://discuss.elastic.co/t/why-does-reindex-stop-at-1000-documents/65125 "2016-11-06T08:31:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://discuss.elastic.co/u/nvd)\
**Post date:** [November 6, 2016, 8:31am UTC](https://discuss.elastic.co/t/why-does-reindex-stop-at-1000-documents/65125/1 "2016-11-06T08:31:50Z")

</div>

I have an index with 130,000 documents each about 1-3Mb geo\_shape data. I'm trying to map them to a different index (New index only has an greater number of shards).

When I run the following reindex, it only runs for the first 1000 documents and then stops. Is there a way to extend the reindex to all documents in the index?

```
POST _reindex
{
  "source": {
    "index": "old_index"
  },
  "dest": {
    "index": "new_index"
  }
}

```

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 6, 2016, 11:01am UTC](https://discuss.elastic.co/t/why-does-reindex-stop-at-1000-documents/65125/2 "2016-11-06T11:01:21Z")

</div>

No idea. Anything in logs?  
Once it's stopped can you run run a hot\_threads API call?  
Is the task still running?

---

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://discuss.elastic.co/u/nvd)\
**Post date:** [November 10, 2016, 4:16am UTC](https://discuss.elastic.co/t/why-does-reindex-stop-at-1000-documents/65125/3 "2016-11-10T04:16:30Z")

</div>

Hi David

The task exits without and there is nothing of note either in the logs or hot\_threads api.

I had decided to do the reindex in chunks based on a range over a unique field.

But we modified our underlying data so a reindex isn't of use to us anymore.

Thanks for replying.

Cheers  
Naveed

---

<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, 2016, 4:16am UTC](https://discuss.elastic.co/t/why-does-reindex-stop-at-1000-documents/65125/4 "2016-12-08T04:16:30Z")

</div>

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