Bug 5579: remove items from MARC bib
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Fri, 3 Sep 2010 10:16:52 +0000 (12:16 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 19 Apr 2011 10:33:56 +0000 (22:33 +1200)
commit3584c4426bbe7687f4bbcf5fe9658a85e4021add
treeea5e29d154b4a60e9af4930b0a5e2e06ee58afff
parent378602e4fa52db04d245ce1a7917591867a783f6
Bug 5579: remove items from MARC bib

This is a squash of four patches by Henri-Damien Laurent
starting work on removing the copy of item record information
in the 9XX field of bibliographic records.  The reason
for doing this is primarily to improve performance, in particular,
the expense of having to add/modify the bib record whenever an
item changes.  Now, whenever an item changes, the bib record is
put in the queue to be reindexed; when the bib is indexed, the 9XX
fields are inserted into the version of the bib that Zebra indexes.
Since rebuild_zebra.pl runs in a separate process, the processing of the
bib record will not delay (e.g.) circulation.

As part of upgrading to 3.4, the following batch script should be run:

misc/maintenance/remove_items_from_biblioitems.pl --run

This should be followed by a complete reindexing of the bib records, e.g.,

misc/migration_tools/rebuild_zebra.pl -b -r

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Biblio.pm
C4/Items.pm
misc/maintenance/remove_items_from_biblioitems.pl [new file with mode: 0644]
misc/migration_tools/rebuild_zebra.pl