Bug 10955: (follow-up) improve usage information
authorGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 18:42:25 +0000 (18:42 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 18:46:28 +0000 (18:46 +0000)
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 <gmc@esilibrary.com>
misc/migration_tools/rebuild_zebra.pl

index b613a77..682e4be 100755 (executable)
@@ -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