split query to _file_path_split to make it somewhat usable
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 9 Jan 2011 18:40:46 +0000 (18:40 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 9 Jan 2011 18:40:46 +0000 (18:40 +0000)
lib/BackupPC/Search/KinoSearch.pm

index 67eff7e..1d1b256 100644 (file)
@@ -134,7 +134,7 @@ sub search {
 
        my $sort_spec = KinoSearch::Search::SortSpec->new( rules => $rules );
 
 
        my $sort_spec = KinoSearch::Search::SortSpec->new( rules => $rules );
 
-#      $q =~ s/(.)/$1 /g;
+       $q =~ s/(.)/$1 /g; # _file_path_split
        my $hits = $self->searcher->hits(
                query => $q,
                sort_spec => $sort_spec,
        my $hits = $self->searcher->hits(
                query => $q,
                sort_spec => $sort_spec,