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:22 +0000 (09:23 -0400)
commiteef4b3f23c0b4558bd2a87af009f39012393994c
treeeb5f9ca3150383d7e289cea6bb94725159669f2a
parent8524994eda7a780738d556dd7ea462e2ac9403a1
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>
misc/migration_tools/rebuild_zebra_sliced.sh