Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use Moose;
- use MooseX::Params::Validate;
- use DateTime::Format::Flexible;
- use DateTime::Format::Pg;
- use File::Basename;
- use POSIX qw( floor );
- #sphinx search modules
- use Data::Dumper;
- use Data::Page;
- use Sphinx::Search;
- use Log::Log4perl qw(:easy);
- use POSIX;
- use File::Basename;
- use Cwd qw(realpath);
- my $cwd = dirname( realpath(__FILE__) );
- ....
- my $sph = Sphinx::Search->new( {log => Log::Log4perl->get_logger($cwd.'/log/sphinx.search'),maxmatches=>50000 ,limit=>$tlimit,offset=>$offset });
Add Comment
Please, Sign In to add comment