Koha-clms/misc
Paul Poulain cc1a1c06c2 Bug 7246 add offset/length and where options to rebuild_zebra
This patch reimplement a feature that is on biblibre/master for Koha-community/master

It adds 4 parameters:
* offset = the offset of record. Say 1000 to start rebuilding at the 1000th record of your database
* length = how many records to export. Say 400 to export only 400 records
* where = add a where clause to rebuild only a given itemtype, or anything you want to filter on

Another improvement resulting from offset & length limit is the rebuild_zebra_sliced.zsh
that will be submitted in another patch.
rebuild_zebra_sliced will slice your all database in small chunks, and, if something went wrong for a given slice, will slice the slice, and repeat, until you reach a slice size of 1, showing which record is wrong in your database.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Removed mention of -l option for limiting number of items exported, as requested
by QA manager. This can be re-added in a later patch.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 1fd8c8a4de)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 81c6e10c81)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2012-02-19 22:27:56 -05:00
..
admin Bug 4878 - Command-line tool for getting and setting sysprefs 2011-03-21 16:47:02 +13:00
bin Bug 7238 : Shifting SIPconfig.xml to the etc dir and the scripts to misc/bin 2012-02-19 22:27:42 -05:00
cronjobs Bug 7157 follow-up: j2a.pl executable again 2012-02-19 21:41:03 -05:00
interface_customization Adding source files for Koha logo and OPAC button background. Bug 3680. 2010-02-02 18:35:25 -05:00
load_testing Adding a couple benchmark scripts 2008-03-20 08:40:48 -05:00
maintenance bug 5579: remove sync_items_in_marc_bib.pl 2011-04-19 22:35:14 +12:00
migration_tools Bug 7246 add offset/length and where options to rebuild_zebra 2012-02-19 22:27:56 -05:00
release_notes Release Notes for 3.04.08.000 27 Jan 2012 14:02:53 Z 2012-01-27 09:02:54 -05:00
translator Bug 6752: Be stricter with utf-8 encoding of output 2012-02-19 21:37:10 -05:00
batchCompareMARCvsFrameworks.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
batchDeleteUnusedSubfields.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
batchImportMARCWithBiblionumbers.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
batchRebuildBiblioTables.pl Bug 6001 : batchRebuildBiblioTables.pl doesn't crash anymore when GetMarcBiblio fails. Unprocessed biblionumbers are displayed at the end of the execution instead. 2011-05-04 08:19:13 -04:00
batchRepairMissingBiblionumbers.pl Repair the old repairmissingbiblionumbers script 2009-04-18 15:39:24 -05:00
batchupdateISBNs.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
check_sysprefs.pl MT3289 : check_sysprefs.pl case sensitive variable names 2011-03-31 15:23:24 +13:00
commit_biblios_file.pl Bug 5065 Add ability to choose framework on import 2011-03-21 20:36:35 +13:00
exportauth.pl Bug 6755 Problems with switching languages 2011-10-08 12:21:25 -04:00
koha-install-log add memcached questions to koha-install-log 2010-02-18 13:46:55 -05:00
kohalib.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
link_bibs_to_authorities.pl Bug 2505 - enable warnings for link_bibs_to_authorities 2010-04-21 20:31:10 +12:00
perlmodule_ls.pl Bug 2505 - add strict and warnings to perlmodule_ls 2010-04-21 20:30:52 +12:00
perlmodule_rm.pl Bug 2505 - remove unnecessary -w and replace with use warnings; 2010-04-07 13:27:07 -04:00
sax_parser_print.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
sax_parser_test.pl Bug 6752: Be stricter with utf-8 encoding of output 2012-02-19 21:37:10 -05:00
stage_biblios_file.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00