Group
Extension

Matches 7

Search-Elasticsearch-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Async-8.12.tar.gz, EZIMUEL, 2024; MetaCPAN )
Search-Elasticsearch-Async/lib/Search/Elasticsearch/Async.pm ( view source; MetaCPAN )
ializer::JSON> (default)

=item * L<Search::Elasticsearch::Serializer::JSON::Cpanel>

=item * L<Search::Elasticsearch::Serializer::JSON::XS>

=item * L<Search::Elasticsearch::Serializer::JSON::PP>

=b
Search-Elasticsearch-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Async-8.12.tar.gz, EZIMUEL, 2024; MetaCPAN )
Search-Elasticsearch-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
Search-Elasticsearch-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Async-8.12.tar.gz, EZIMUEL, 2024; MetaCPAN )
Search-Elasticsearch-Async/lib/Search/Elasticsearch/Transport/Async.pm ( view source; MetaCPAN )
e method is changed to C<POST> when a body is present.

=item * C<source>

The body is encoded as JSON and added to the query string as the C<source>
parameter.  This has the advantage of still being 
   );

=item C<serialize>

Whether the C<body> should be serialized in the standard way (as plain
JSON) or using the special I<bulk> format:  C<"std"> or C<"bulk">.

=back

=head1 AUTHOR

Enrico Zimue
Search-Elasticsearch-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Async-8.12.tar.gz, EZIMUEL, 2024; MetaCPAN )
Search-Elasticsearch-Async/lib/Search/Elasticsearch/Cxn/AEHTTP.pm ( view source; MetaCPAN )
,

        # optional
        data        => $body_as_string,
        mime_type   => 'application/json',
        timeout     => $timeout
    })
    ->then(sub { my ($status,body) = @_; ...})

Sends th
Search-Elasticsearch-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Async-8.12.tar.gz, DRTECH, 2024; MetaCPAN )
Search-Elasticsearch-Async/lib/Search/Elasticsearch/Client/6_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
Search-Elasticsearch-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Async-8.12.tar.gz, EZIMUEL, 2024; MetaCPAN )
Search-Elasticsearch-Async/lib/Search/Elasticsearch/Client/7_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
Search-Elasticsearch-Async ( E/EZ/EZIMUEL/Search-Elasticsearch-Async-8.12.tar.gz, EZIMUEL, 2024; MetaCPAN )
Search-Elasticsearch-Async/lib/Search/Elasticsearch/Cxn/Mojo.pm ( view source; MetaCPAN )
,

        # optional
        data        => $body_as_string,
        mime_type   => 'application/json',
        timeout     => $timeout
    })
    ->then(sub { my ($status,body) = @_; ...})

Sends th

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