fix database name in view
[angular-mojolicious.git] / trigger / KinoSearch.pm
index 1c927e4..6866c35 100644 (file)
@@ -24,7 +24,7 @@ our $indexer;
 sub _indexer {
        $indexer ||= KinoSearch::Index::Indexer->new(
                schema => $schema,   
-               index  => '/tmp/index',
+               index  => "/tmp/kinosearch.$database", 
                create => 1,
        );
 };