Catalyst::Model::WebService::Solr - Use WebService::Solr in your Catalyst application
package MyApp::Model::Solr; use Moose; use namespace::autoclean; extends 'Catalyst::Model::WebService::Solr'; __PACKAGE__->config( server => 'http://localhost:8080/solr/', options => { autocommit => 1, } );
This module helps you use remote indexes via WebService::Solr in your Catalyst application.
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 );
Catalyst
WebService::Solr
Brian Cassidy <bricas@cpan.org>
Matt S. Trout <mst@shadowcatsystems.co.uk>
Oleg Kostyuk <cub@cpan.org>
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.
To install Catalyst::Model::WebService::Solr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::WebService::Solr
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::WebService::Solr
For more information on module installation, please visit the detailed CPAN module installation guide.