mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
PIT+search_after became universally safe in Elasticsearch 7.12 by adding an automatic sort tiebreaker field when using PITs called `_shard_doc` but now we need to do feature detection to make sure we use the previous scroll method on Elasticsearch <7.12 clusters