From 306e9e499856cc3e5f133de6c1152654c89e2303 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 9 Jan 2011 20:11:26 +0000 Subject: [PATCH] make backupnum sortable --- Makefile | 4 ++++ lib/BackupPC/Search/KinoSearch.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 407c3ee..7c87a0f 100644 --- a/Makefile +++ b/Makefile @@ -16,3 +16,7 @@ tar: sudo -u backuppc ./bin/BackupPC_incPartsUpdate reset: clean update tar + +reindex: + sudo rm -Rf /tmp/kinosearch/ + sudo -u backuppc DEBUG=1 bin/BackupPC_updatedb -j -v 3 diff --git a/lib/BackupPC/Search/KinoSearch.pm b/lib/BackupPC/Search/KinoSearch.pm index d12577d..35cb71b 100644 --- a/lib/BackupPC/Search/KinoSearch.pm +++ b/lib/BackupPC/Search/KinoSearch.pm @@ -49,7 +49,6 @@ sub indexer { # numeric $schema->spec_field( name => $_, type => $string_type ) foreach ( qw/ backup_date - backupnum fid shareid type @@ -69,6 +68,7 @@ sub indexer { # sortable numeric $schema->spec_field( name => $_, type => $sort_type ) foreach (qw/ + backupnum date size /); -- 2.20.1