[Koha-bugs] [Bug 13706] Deduping authorities script (dedup_authorities.pl)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 13 09:40:19 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13706
--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 35885
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35885&action=edit
Bug 13706: New script dedup_authorities.pl
This script allow to deduplicate authorities automatically.
It works this way:
1) authorities are fetched from the database. You can limit fetched
results by authtypecode, or directly by specifying WHERE clause
2) for each authority:
2.1) build a Zebra query, depending on --match parameter(s)
2.2) run the query, retrieve the results
2.3) for each result check if result is really a duplicate. check is
customizable with option --check.
2.4) among real duplicates, choose the one we want to keep (use
--choose-method option).
2.5) use C4::Authorities::merge to merge authorities
3) index updated biblios and authorities, and remove from index
removed authorities
Use --help for more informations on options
Script is in misc/migration_tools/
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list