Foorum::Search::Database - search Foorum by DBI
use Foorum::Search::Database; my $search = new Foorum::Search::Database; my $ret = $search->query('topic', { author_id => 1, title => 'test', page => 2, per_page => 20 } ); # $ret would be something like: # { matches => \@topic_ids, pager => $instance_of_date_page }
This module implements DBI for Foorum Search. so generally you should check Foorum::Search instead.
Foorum::Search, 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.