| Catalyst-Model-WebService-Lucene documentation | Contained in the Catalyst-Model-WebService-Lucene distribution. |
Catalyst::Model::WebService::Lucene - Use WebService::Lucene in your Catalyst application
package MyApp::Model::Lucene;
use base qw( Catalyst::Model::WebService::Lucene );
__PACKAGE__->config(
server => 'http://localhost:8080/lucene/'
);
This module helps you use remote indexes via WebService::Lucene in your Catalyst application.
passes your config options to WebService::Lucene's new method.
Brian Cassidy <bricas@cpan.org>
Adam Paynter <adapay@cpan.org>
Copyright 2006-2009 National Adult Literacy Database
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Catalyst-Model-WebService-Lucene documentation | Contained in the Catalyst-Model-WebService-Lucene distribution. |
package Catalyst::Model::WebService::Lucene; use base qw( WebService::Lucene Catalyst::Model ); use strict; use warnings; our $VERSION = '0.05';
sub COMPONENT { my ( $class, $c, $config ) = @_; my $self = $class->new( $config->{ server } ); $self->config( $self->merge_config_hashes( $self->config, $config ) ); return $self; }
1;