From: Galen Charlton Date: Mon, 10 Mar 2014 18:42:25 +0000 (+0000) Subject: Bug 10955: (follow-up) improve usage information X-Git-Tag: v3.16.00-beta~656 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=03338b70e4de9866bd4afb69f0d8e5eeae3d7866;p=koha_fer Bug 10955: (follow-up) improve usage information This patch improves rebuild_zebra.pl's usage help by explaining when --skip-deletes should be considered and noting that it should be used in conjunction with a cronjob to process deletions after hours. Signed-off-by: Galen Charlton --- diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index b613a776d9..682e4beac4 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -853,8 +853,13 @@ Parameters: table. Cannot be used with -r or -s. - --skip-deletes select only updated records marked - in the zebraqueue table, not deletes. + --skip-deletes only select record updates, not record + deletions, to avoid potential excessive + I/O when zebraidx processes deletions. + If this option is used for normal indexing, + a cronjob should be set up to run + rebuild_zebra.pl -z without --skip-deletes + during off hours. Only effective with -z. -r clear Zebra index before