LisaHJung/Part-4-Running-Aggregations-with-Elasticsearch-and-Kibana

Perhaps do the reindex async?

sandipb opened this issue · 2 comments

The reindex operation to change the mapping was timing out. Perhaps we can ask the trainee to do it async? I had to do this to make it work.

Start the import in the background.

POST _reindex?wait_for_completion=false
{
  "source": {
    "index": "imported_ecommerce_data"
  },
  "dest": {
    "index": "ecommerce_data"
  }
}

And then I keep running this from time to time till it showed as completed.

GET _tasks/ikGUJ5jGSbqZeetWtFFEjg:98339

Thanks @sandipb! I had the same issue and this resolved it :)