Skip to content

Commit

Permalink
* lib/Dancer/Plugin/Lucy.pm: correcting the args passed to Lucy::Simp…
Browse files Browse the repository at this point in the history
…le->new()
  • Loading branch information
edipretoro committed Sep 28, 2012
1 parent e33d03f commit 583ba2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Dancer/Plugin/Lucy.pm
Expand Up @@ -12,7 +12,7 @@ register indexer => sub {
my $conf = plugin_setting();

my $indexer = Lucy::Simple->new(
index => $conf->{index},
path => $conf->{index},
language => $conf->{polyanalyser}{language},
);

Expand All @@ -22,7 +22,7 @@ register indexer => sub {
register searcher => sub {
my $conf = plugin_setting();
my $searcher = Lucy::Simple->new(
index => $conf->{index},
path => $conf->{index},
);

return $searcher;
Expand Down

0 comments on commit 583ba2d

Please sign in to comment.