Fayland 林 > Foorum > Foorum::Search::Database

Download:
Foorum-1.001000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.001000   Source  

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>

syntax highlighting: