Fayland 林 > Foorum > Foorum::Search::Sphinx

Download:
Foorum-1.001000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.001000   Source  

NAME ^

Foorum::Search::Sphinx - search Foorum by Sphinx

SYNOPSIS ^

  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 }

DESCRIPTION ^

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

SEE ALSO ^

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

AUTHOR ^

Fayland Lam <fayland at gmail.com>

syntax highlighting: