Reindex API and wait-for-completion task return


(Isaias Barroso) #1

Hi all.

I've read on document API for Reindex (5.x) that if I pass ?wait-for-completion=false for _reindex as URL parameter a task will be returned to be used for get status.

If the request contains wait_for_completion=false then Elasticsearch will perform some preflight checks, launch the request, and then return a task which can be used with Tasks APIs to cancel or get the status of the task

But when I'm passing that URL parameter I'm not getting a task information. I'm missing something?

Best regards


(Nik Everett) #2

s/-/_/ I think. It is ?wait_for_completion=false.


(Isaias Barroso) #3

Hi @nik9000.

Shame on me. I've read the URL many times and don't get the point. In a next issue I'll do copy paste :slight_smile:

Thanks a lot


(system) #4