[Bug 42658] New: Add option for direct DB matching when using bulkmarcimport
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42658 Bug ID: 42658 Summary: Add option for direct DB matching when using bulkmarcimport Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: jake.deery@openfifth.co.uk, robin@catalyst.net.nz Currently bulkmarcimport lets you define a matching rule when importing - often we are matching on the biblionumber/999c - this means searching ES or the DB is functionally equivalent. We should have an option to bypass the search engine and check the DB in these cases -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42658 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42658 --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 199357 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199357&action=edit Bug 42658: Add id_match option to bulkmarcimport.pl This patch adds a en option id_match which will use the incoming biblionumber to find the exsting record in the DB To test: 1 - Cataloging -> Export catalog data 2 - From records 1 to 439, export the entire KTD database, or a subset if you have larger DB the important thing is to have biblionumbers 3 - perl misc/migration_tools/bulkmarcimport.pl -b -match Local-number,999c -file kohatdall.mrc --update --si -v 4 - Confirm this worked as expected, note the time taken, I checked the record timestamps to confirm they were updated SELECT biblionumber,timestamp FROM biblio; 5 - Apply patch 6 - perl misc/migration_tools/bulkmarcimport.pl -b -match Local-number,999c -file kohatdall.mrc --update --si -v -im 7 - Confirm less time taken and things worked as expected 8 - Sign off -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org