diff --git a/misc/maintenance/compare_es_to_db.pl b/misc/maintenance/compare_es_to_db.pl index 6eaea29799..196ed2ea66 100755 --- a/misc/maintenance/compare_es_to_db.pl +++ b/misc/maintenance/compare_es_to_db.pl @@ -54,14 +54,12 @@ foreach my $index ( ('biblios','authorities') ){ # 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 => { + size => 5000, query => { match_all => {} }, - stored_fields => [] }, - scroll_in_qs => 1, ); my @es_ids;