Group
Extension

Matches 3

WebService-Solr-Tiny ( R/RA/RAZ/WebService-Solr-Tiny-0.002.tar.gz, RAZ, 2021; MetaCPAN )
WebService-Solr-Tiny/README.pod ( view source; MetaCPAN )
item C<decoder>

A code reference to use for decoding responses. Defaults to using
C<decode_json> from L<JSON::PP>.

=item C<default_args>

A hash reference with default parameters that will be passed
e decoder.
By default Solr returns JSON, therefore the fastest decoder for this would be
L<JSON::XS>. You can swap out L<JSON::PP> for L<JSON::XS> like so:

 use JSON::XS ();
 use WebService::Solr::Ti
ny;

 my $solr = WebService::Solr::Tiny->new( decoder => \&JSON::XS::decode_json );

However it's possible to make Solr return a compact binary format known as
JavaBin, to do so we send C<wt=javabin> 
WebService-Solr-Tiny ( R/RA/RAZ/WebService-Solr-Tiny-0.002.tar.gz, RAZ, 2021; MetaCPAN )
WebService-Solr-Tiny/lib/WebService/Solr/Tiny.pod ( view source; MetaCPAN )
item C<decoder>

A code reference to use for decoding responses. Defaults to using
C<decode_json> from L<JSON::PP>.

=item C<default_args>

A hash reference with default parameters that will be passed
e decoder.
By default Solr returns JSON, therefore the fastest decoder for this would be
L<JSON::XS>. You can swap out L<JSON::PP> for L<JSON::XS> like so:

 use JSON::XS ();
 use WebService::Solr::Ti
ny;

 my $solr = WebService::Solr::Tiny->new( decoder => \&JSON::XS::decode_json );

However it's possible to make Solr return a compact binary format known as
JavaBin, to do so we send C<wt=javabin> 
WebService-Solr-Tiny ( R/RA/RAZ/WebService-Solr-Tiny-0.002.tar.gz, RAZ, 2021; MetaCPAN )
WebService-Solr-Tiny/lib/WebService/Solr/Tiny.pm ( view source; MetaCPAN )
:Tiny->new( keep_alive => 1 ) };
    $self->{decoder}      //=
        do { require JSON::PP; \&JSON::PP::decode_json };
    $self->{default_args} //= {};
    $self->{url}          //= 'http://localho

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