commit search index
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 9 Jan 2011 18:25:11 +0000 (18:25 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 9 Jan 2011 18:25:11 +0000 (18:25 +0000)
bin/BackupPC_updatedb

index 9627a2b..a0d0069 100755 (executable)
@@ -190,6 +190,8 @@ sub hest_update {
 
        } while ($results == EST_CHUNK);
 
+       $search->commit;
+
        my $dur = (time() - $t) || 1;
        printf(" [%.2f/s dur: %s]\n",
                ( $added / $dur ),