When does a task's stored result removed?

Hi :slight_smile:

I am using the tasks management api to asynchronously get the result of a reindex action. I was wondering, when will the task result be deleted? When is the task status deleted (and I'll get 404 when trying to get it by id)?
I am using Elasticsearch 5.3.2.

To answer my own question (RTFM), from the reindex API doc (I was expecting it on the tasks API doc for some reason):

The cost of this feature is the document that wait_for_completion=false creates at .tasks/task/${taskId}. It is up to you to delete that document.

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