作者:泡泡 | 来源:互联网 | 2023-10-12 21:28
Finally removes
, per https://github.com/taskrabbit/elasticsearch-dump/pull/202
该提问来源于开源项目:elasticsearch-dump/elasticsearch-dump
Yep, we knew that this behavior would slow down in ES 2, and then be greatly improved in ES 3/5, where they optimized that sort specifically.
A great PR to add would be to determine the
version of elasticsearch and decide how to handle that sort. I'm also not personally sure if we need a sort at all... and it the use of
on its own will maintain the sort. For elasticdump, we only need it to guarantee offsets via
, so perhaps we can ignore the sort if there is no
option.