NAME

Foorum::Search::Database - search Foorum by DBI

SYNOPSIS

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 }

DESCRIPTION

This module implements DBI for Foorum Search. so generally you should check Foorum::Search instead.

SEE ALSO

Foorum::Search, Foorum::Search::Sphinx

AUTHOR

Fayland Lam <fayland at gmail.com>