# The scroll lets us iterate through, it fetches chunks of 'size' as we move through
my $scroll = $es->scroll_helper(
index => $searcher->index_name,
size => 5000,
body => {
query => {
match_all => {}
},
stored_fields => []
scroll_in_qs => 1,
);
my @es_ids;
-