[Koha-bugs] [Bug 7419] Add authority deduplication script
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 4 21:01:49 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7419
--- Comment #37 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 20785
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20785&action=edit
Bug 7419: quiet warnings in deduplicator
Quiet some warnings from the deduplicator script.
Revised test plan:
1) Apply patches.
2) Import the sample records (sampleauths.mrc) file into Koha and
make sure that they get indexed (by waiting until rebuild_zebra.pl
runs automatically or by running rebuild_zebra.pl -a -z [-x] manually)
3) Deduplicate based on LCCN (replace {FIRSTAUTH} with the authid of the
first imported record; on my system that number is 367123668):
> misc/migration_tools/dedup_records.pl -t -v -a \
-l "authid >= {FIRSTAUTH}" -r -m "lc-card/010a" -s date
4) Check that you have 10 records that were chosen (you may have more,
if you added more authorities after importing the sample data, but you
should have at least the ten).
5) Deduplicate based on geographic heading, preferring Library of Congress
authorities to local authorities:
> misc/migration_tools/dedup_records.pl -t -v -a \
-l "authid >= {FIRSTAUTH}" -r -m "geographic/151a" -s "source=DLC" -s date
6) Check that you have 2 duplicate records replaced from amongst the new
records.
7) Sign off.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list