[Koha-bugs] [Bug 7419] Add authority deduplication script
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 9 14:16:29 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7419
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11413|0 |1
is obsolete| |
--- Comment #11 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 11488
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11488&action=edit
Bug 7419: New script dedup_authorities.pl
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