]> git.koha-community.org Git - koha.git/commit
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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:14 +0000 (23:19 +0200)
commit0053486cfaae95549c93c00f33841779b12e8914
treecf0d92f9ada0040ab902346419cb45cc506cedb2
parentc0fd827a8ab61d95e182c917b10d38fdb793a25f
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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
misc/migration_tools/rebuild_zebra.pl