projects
/
BackupPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f30cdb
)
cleanup exists
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jan 2011 15:21:53 +0000
(15:21 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jan 2011 15:21:53 +0000
(15:21 +0000)
lib/BackupPC/Search/KinoSearch.pm
patch
|
blob
|
history
diff --git
a/lib/BackupPC/Search/KinoSearch.pm
b/lib/BackupPC/Search/KinoSearch.pm
index
8b9c51d
..
98b7f2f
100644
(file)
--- a/
lib/BackupPC/Search/KinoSearch.pm
+++ b/
lib/BackupPC/Search/KinoSearch.pm
@@
-71,10
+71,7
@@
sub new {
sub exists {
my ($self,$row) = @_;
- return 0; # FIXME
-
my $uri = $row->{hname} . ':' . $row->{sname} . '#' . $row->{backupnum} . ' ' . $row->{filepath};
- warn "# exists $uri";
my $hits = $self->{searcher}->hits( query => "_uri:$uri" );
return $hits->total_hits;
}