elastic/elasticsearch

ETA for Reindex API

Offen

#76.904 geöffnet am 25.08.2021

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (25.882 Forks)batch import
:Distributed/Reindex>enhancementTeam:Distributedhelp wanted

Repository-Metriken

Stars
 (76.700 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T) (1.000 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide