Guest User

Untitled

a guest
Aug 13th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.50 KB | None | 0 0
  1. use Moose;
  2. use MooseX::Params::Validate;
  3. use DateTime::Format::Flexible;
  4. use DateTime::Format::Pg;
  5. use File::Basename;
  6.  
  7. use POSIX qw( floor );
  8. #sphinx search modules
  9. use Data::Dumper;
  10. use Data::Page;
  11. use Sphinx::Search;
  12. use Log::Log4perl qw(:easy);
  13. use POSIX;
  14. use File::Basename;
  15. use Cwd qw(realpath);
  16. my $cwd = dirname( realpath(__FILE__) );
  17. ....
  18.  
  19.  
  20.         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