View | Details | Raw Unified | Return to bug 33626
Collapse All | Expand All

(-)a/misc/maintenance/compare_es_to_db.pl (-4 / +1 lines)
Lines 54-67 foreach my $index ( ('biblios','authorities') ){ Link Here
54
    # The scroll lets us iterate through, it fetches chunks of 'size' as we move through
54
    # The scroll lets us iterate through, it fetches chunks of 'size' as we move through
55
    my $scroll = $es->scroll_helper(
55
    my $scroll = $es->scroll_helper(
56
        index => $searcher->index_name,
56
        index => $searcher->index_name,
57
        size => 5000,
58
        body => {
57
        body => {
58
            size => 5000,
59
            query => {
59
            query => {
60
                match_all => {}
60
                match_all => {}
61
            },
61
            },
62
            stored_fields => []
63
        },
62
        },
64
        scroll_in_qs => 1,
65
    );
63
    );
66
64
67
    my @es_ids;
65
    my @es_ids;
68
- 

Return to bug 33626