]> git.koha-community.org Git - koha.git/commit
Bug 8746: rebuild_zebra_sliced.sh now export/index records as MARCXML
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 20 Sep 2012 10:12:31 +0000 (12:12 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 21 Apr 2013 13:23:40 +0000 (09:23 -0400)
commit055c09fc2de20bbf0f5c2600e7dbeb32e491ae7e
tree12f99441ca91aff8ab1dc95a57e3c64b69a7640d
parent5c4c680fa69c2af8643a61268b5568c57401e5b1
Bug 8746: rebuild_zebra_sliced.sh now export/index records as MARCXML

This avoid indexing failures due to "bad offset" or "bad length" error
with ISO2709 format

+ minor improvements:
  -  --length parameter is optional. If not given, it will execute the
     right sql query to find the number of records to index
  -  new parameter --reset-index. If set, index is reset before indexing

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Work as described. No errors.

Test: Edit record to make it longer than 9999. Without patch rebuild_sliced
fails. With patches works.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit eef4b3f23c0b4558bd2a87af009f39012393994c)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
misc/migration_tools/rebuild_zebra_sliced.sh