projects
/
BackupPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2630cba
)
split query to _file_path_split to make it somewhat usable
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jan 2011 18:40:46 +0000
(18:40 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jan 2011 18:40:46 +0000
(18:40 +0000)
lib/BackupPC/Search/KinoSearch.pm
patch
|
blob
|
history
diff --git
a/lib/BackupPC/Search/KinoSearch.pm
b/lib/BackupPC/Search/KinoSearch.pm
index
67eff7e
..
1d1b256
100644
(file)
--- a/
lib/BackupPC/Search/KinoSearch.pm
+++ b/
lib/BackupPC/Search/KinoSearch.pm
@@
-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,