Group
Extension

Matches 1

DBIx-Class-Indexer-WebService-Dezi ( L/LO/LOGIE/DBIx-Class-Indexer-WebService-Dezi-0.08.tar.gz, LOGIE, 2012; MetaCPAN )
DBIx-Class-Indexer-WebService-Dezi/lib/DBIx/Class/Indexer/WebService/Dezi.pm ( view source; MetaCPAN )
et_indexer( 'WebService::Dezi', { server => 'http://localhost:5000', content_type => 'application/json' } );
    
    __PACKAGE__->table('person');
    
    __PACKAGE__->add_columns(
        person_id
TTRIBUTES

=head2 as_document( $self, $object )

Handles the insert operation. Generates a XML or JSON document 
that will be indexed by the dezi service.

=cut

sub as_document {
    my ( $self, $obj
Name=>'doc',);
    } elsif ( $self->content_type eq 'application/json' ) {
        require JSON;
        $output_str = JSON::encode_json({ doc => $fields });
    }

    return $output_str;
}

__PACKAG

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