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