Group
Extension

Matches 1

Search-Elasticsearch-Client-8_0-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Client-8_0-Async-8.12.tar.gz, EZIMUEL, 2024; MetaCPAN )
Search-Elasticsearch-Client-8_0-Async/lib/Search/Elasticsearch/Client/8_0/Async/Bulk.pm ( view source; MetaCPAN )
@actions  = @_;

    my $weak_add;
    my $add = sub {
        while (@actions) {
            my @json = try {
                $self->_encode_action( splice( @actions, 0, 2 ) );
            }
        
     };
            return unless @json;

            push @$buffer, @json;

            my $size = $self->_buffer_size;
            $size += length($_) + 1 for @json;
            $self->_buffer_size(
s a queue, buffering up actions
until it reaches a maximum count of actions, or a maximum size of JSON request
body, at which point it issues a C<bulk()> request.

Once you have finished adding action

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.