elastic/elasticsearch

ETA for Reindex API

Open

#76,904 建立於 2021年8月25日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Java (76,700 star) (25,882 fork)batch import
:Distributed/Reindex>enhancementTeam:Distributedhelp wanted

描述

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.

貢獻者指南