Brian Cassidy > Catalyst-Model-WebService-Solr-0.04 > Catalyst::Model::WebService::Solr

Download:
Catalyst-Model-WebService-Solr-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Catalyst::Model::WebService::Solr - Use WebService::Solr in your Catalyst application

SYNOPSIS ^

    package MyApp::Model::Solr;
    
    use Moose;
    use namespace::autoclean;
    
    extends 'Catalyst::Model::WebService::Solr';
    
    __PACKAGE__->config(
        server  => 'http://localhost:8080/solr/',
        options => {
            autocommit => 1,
        }
    );

DESCRIPTION ^

This module helps you use remote indexes via WebService::Solr in your Catalyst application.

METHODS ^

solr( )

This is the WebService::Solr instance to which all methods are delegated.

    # delegates to solr->search behind the scenes
    my $response = $c->model('Solr')->search( $q );

SEE ALSO ^

AUTHOR ^

Brian Cassidy <bricas@cpan.org>

CONTRIBUTORS ^

Matt S. Trout <mst@shadowcatsystems.co.uk>

Oleg Kostyuk <cub@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2008-2010 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: