https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22831

--- Comment #6 from Ere Maijala <[email protected]> ---
Nick, one more thing: you can make the ES cursor a zillion times faster by not
retrieving any of the stored fields:

    my $scroll = $es->scroll_helper(
        index => $searcher->get_elasticsearch_params->{index_name},
        size => 5000,
        body => {
            query => {
                match_all => {}
            },
            stored_fields => []
        },
        scroll_in_qs => 1,
    );

I'd also run the id comparison regardless of whether record counts match since
there's could be a case where they do but the records still differ.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to