Why does reindex stop at 1000 documents?


(Naveed Siddiqui) #1

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!


(David Pilato) #2

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


(Naveed Siddiqui) #3

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


(system) #4

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