[Koha] Building authority records after data migration

Galen Charlton gmc at esilibrary.com
Wed Jun 19 06:21:47 NZST 2013


Hi,

On Tue, Jun 18, 2013 at 12:14 AM, Iming Chan <imingchan at yahoo.com.au> wrote:
> Recently, I have successfully migrated all bibliographic records into Koha
> 3.12.  I would like to find out how to build up authority records using bib.
> records that are in Koha?  There doesn't seem to be any instruction on this
> that will help newbie (like myself) to achieve this.

My general recommendation for this sort of situation is to *not* build
authority records based on the bib records.  Why?  First,
machine-created authority records will end up "authorizing" any typos
and other errors that may exist in your bib headings.  Second, much of
the value of authority records, particularly for Koha's headings
search feature, comes from cross-references, which can't be
machine-generated.  Consequently, I recommend that you consider
downloading authority records from sources such as LC and NLA or using
an authority control service.

That said, if you want to proceed, you can make Koha create authority
records by first turning on both the AutoCreateAuthorities and
BiblioAddsAuthorities system preferences, then saving each bib record
individually (and slowly, so that Koha stays on top of indexing the
new authority records).

At the moment, there isn't an easy, reliable way to do so as a batch
operation; while running the command line link_bibs_to_authorities.pl
script will create authority records automatically if the two system
preferences I mentioned are enabled, doing it in one fell swoop will
creating duplicate authority records.  Why?  Because newly-created
authority aren't indexed instantaneously, so a new one may exist in
the database but not be findable by the linker script yet.

To work around that, you could write a script that did the equivalent of

link_bibs_to_authorities.pl  --bib-limit 'biblionumber = 1'
misc/migration_tools/rebuild_zebra.pl -b -a -z
link_bibs_to_authorities.pl  --bib-limit 'biblionumber = 2'
misc/migration_tools/rebuild_zebra.pl -b -a -z
link_bibs_to_authorities.pl  --bib-limit 'biblionumber = 3'
misc/migration_tools/rebuild_zebra.pl -b -a -z
...
link_bibs_to_authorities.pl  --bib-limit 'biblionumber = 9999'
misc/migration_tools/rebuild_zebra.pl -b -a -z

Regards,

Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  gmc at esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org


More information about the Koha mailing list