Catalyst::Model::Plucene - Plucene Model Class
# lib/MyApp/Model/Plucene.pm package MyApp::Model::Plucene; use base 'Catalyst::Model::Plucene'; __PACKAGE__->config( path => '/tmp/myindex' ); 1; my $plucene = $c->comp('MyApp::Model::Plucene'); $plucene->add( $id1 => { $field => $term1 }, $id2 => { $field => $term2 }, ); my @results = $plucene->search($search_string); $plucene->optimize;
This is the Plucene model class.
Plucene
Sets path from model config. Defaults to /tmp/index
Catalyst, Plucene::Simple
Sebastian Riedel, sri@cpan.org Marcus Ramberg, mramberg@cpan.org
sri@cpan.org
mramberg@cpan.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Model::Plucene, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::Plucene
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::Plucene
For more information on module installation, please visit the detailed CPAN module installation guide.