Group
Extension

Matches 2

WebService-Solr ( B/BR/BRICAS/WebService-Solr-0.21.tar.gz, BRICAS, 2012; MetaCPAN )
WebService-Solr/lib/WebService/Solr.pm ( view source; MetaCPAN )
      => 'ro',
    isa        => 'HashRef',
    auto_deref => 1,
    default    => sub { { wt => 'json' } }
);

has 'last_response' => (
    is  => 'rw',
    isa => 'Maybe[WebService::Solr::Response]'
 {
        $options->{ default_params }
            = { %{ $options->{ default_params } }, wt => 'json', };
    }

    return $options;
}

sub add {
    my ( $self, $doc, $params ) = @_;
    my @docs 
WebService-Solr ( B/BR/BRICAS/WebService-Solr-0.21.tar.gz, BRICAS, 2012; MetaCPAN )
WebService-Solr/lib/WebService/Solr/Response.pm ( view source; MetaCPAN )
esponse;

use Any::Moose;

use WebService::Solr::Document;
use Data::Page;
use Data::Pageset;
use JSON::XS ();

has 'raw_response' => (
    is      => 'ro',
    isa     => 'Object',
    handles => {
 
>raw_response->content;
    return {} unless $content;
    my $rv = eval { JSON::XS::decode_json( $content ) };

    ### JSON::XS throw an exception, but kills most of the content
    ### in the diagn
m * raw_response - the raw L<HTTP::Response> object.

=item * content - a hashref of deserialized JSON data from the response.

=item * docs - an array of L<WebService::Solr::Document> objects.

=item

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