elastic/elasticsearch

ETA for Reindex API

Open

Aperta il 25 ago 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Java (76.700 star) (25.882 fork)batch import
:Distributed/Reindex>enhancementTeam:Distributedhelp wanted

Descrizione

The get task API (e.g. GET _tasks/lOHn4ATPST6LfKCW6m539w:517820) should include an estimated time of completion where applicable.

Specifically when using the reindex API, I had to write myself a basic tool some time ago to estimate when the task would be completed using the total, created, updated, start_time_in_millis, and running_time_in_nanos properties. (Although I believe in cases where the reindex operation omits some documents, this may not even be sufficient!)

It would be great if this functionality was built into this API.

Guida contributor