]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Stub script for adding authority control to an existing set of bibs
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Jul 2010 15:56:33 +0000 (15:56 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Jul 2010 15:56:33 +0000 (15:56 +0000)
commitade1aece4d28feb90abae179ff02f52d7690c5f0
tree61b532eef7f03f515a057ef5233615f1b8069280
parentdb4a24f4face9716597bfe3593048b9709683516
Stub script for adding authority control to an existing set of bibs

The goal of this script is to iterate over every bib record listed at
the command line (or --all) and check every controlled bib field for
matching subfield combinations in authority records. This is going to
be slow, friends, but for this iteration we're looking at paying a
one-time cost; after that, controlled fields will automatically be
maintained by triggers on the authority.record_entry tables.

The bib field-to-auth field mapping needs to be fleshed out (should
be comparable to the mapping in marcedit.js) and floating subdivisions
still need to be controlled. Probably in a separate pass over the bibs,
given the current "design".

We extend open-ils.s*.authority.validate.tag to offer an id_list() variant
so that we can get the corresponding authority record ID back from the
call, instead of just a count.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16918 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Search/Authority.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/authority.pm
Open-ILS/src/support-scripts/authority_control_fields.pl [new file with mode: 0644]