Foorum::Search - search Foorum
use Foorum::Search; my $search = new Foorum::Search; my $ret = $search->query('topic', { author_id => 1, title => 'test', page => 2, per_page => 20 } ); # this ->query would use Foorum::Search::Sphinx when 'searchd' is available. # or else, use Foorum::Search::Database to get the results.
This module is mainly to design the interface of Foorum search regardless the backend (Sphinx or Database or others)
Foorum::Search::Database, Foorum::Search::Sphinx
Fayland Lam <fayland at gmail.com>
To install Foorum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Foorum
CPAN shell
perl -MCPAN -e shell install Foorum
For more information on module installation, please visit the detailed CPAN module installation guide.