Bug 7286: rebuild_zebra_sliced for biblios and authorities
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 2 Jul 2012 11:57:31 +0000 (13:57 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 6 Jul 2012 13:06:40 +0000 (15:06 +0200)
commit57424a9fdc269e205d3783735cfdb02cba5e2430
treeaea18b4f55716b5de9e2f07eb5c33fe2a974d736
parent87eae41e509a69e6698264a38d079c78ef2451cb
Bug 7286: rebuild_zebra_sliced for biblios and authorities

Complete rewrite of rebuild_zebra_sliced.zsh (renamed to .sh). Main
improvements are:
  - both biblio and authority records are handled
  - records are exported only once

It also add an option --skip-index to rebuild_zebra.pl that permit to
use rebuild_zebra.pl as an 'export only' script.

Description:
Index Koha records by chunks. It is useful when some record causes
errors and stop the indexation process. With this script, if indexation
of one chunk fails, chunk is splitted in 2 (or 3) chunks, and
indexation continue on these chunks.
rebuild_zebra.pl is called only once to export records.
Splitting and indexing is handled by this script (using yaz-marcdump and
zebraidx).

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
misc/migration_tools/rebuild_zebra.pl
misc/migration_tools/rebuild_zebra_sliced.sh [new file with mode: 0755]