Bug 3301 - Speed up rebuild_zebra script
authorFrédéric Demians <f.demians@tamil.fr>
Sun, 14 Jun 2009 05:17:40 +0000 (07:17 +0200)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 29 Jun 2009 12:52:46 +0000 (07:52 -0500)
commit459d732180e14ed9f081d8a61f7a248c9761a43f
treed0111d6fa73bfd9c58da27fe332e2eef67ba273c
parente8908c2f97222dddd43474826e61d97a49e7ae9a
Bug 3301 - Speed up rebuild_zebra script

With this patch, rebuild_zebra can re-index a whole Koha DB
quickly:

  rebuild_zebra -r -b -nosanitize

Biblio (authority) records are dump directly in a file
from marcxml field without beeing transformed into
MARC::Record object and corrected.

DOCUMENTATION:

rebuild_zebra.pl new paramater:

-nosanitize  export biblio/authority records directly from DB marcxml
             field without sanitizing records. It speed up
             dump process but could fail if DB contains badly
             encoded records. Works now only with -x and -b

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
misc/migration_tools/rebuild_zebra.pl