Bugzilla – Attachment 37626 Details for
Bug 11496
The number of tested records when searching for duplicates during import is too low
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11496: Raise number of tested records when searching for duplicate during import.
Bug-11496-Raise-number-of-tested-records-when-sear.patch (text/plain), 1.29 KB, created by
Mark Tompsett
on 2015-04-09 15:57:35 UTC
(
hide
)
Description:
Bug 11496: Raise number of tested records when searching for duplicate during import.
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2015-04-09 15:57:35 UTC
Size:
1.29 KB
patch
obsolete
>From a98d1628782e524eec3a61d6e053d782dfe7d776 Mon Sep 17 00:00:00 2001 >From: Matthias Meusburger <matthias.meusburger@biblibre.com> >Date: Wed, 8 Jan 2014 10:39:50 +0100 >Subject: [PATCH] Bug 11496: Raise number of tested records when searching for > duplicate during import. > > - Previously, only the first 10 records returned by koha for a given matchpoint were tested. > This is not enough in many cases, because a significant matching record can be beyond these 10 first results. > This patch raise the search to 1000 records, for more accurate, but slower results. >--- > tools/stage-marc-import.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl >index 7207859..b660e89 100755 >--- a/tools/stage-marc-import.pl >+++ b/tools/stage-marc-import.pl >@@ -146,7 +146,7 @@ if ($completedJobID) { > $checked_matches = 1; > $matcher_code = $matcher->code(); > $num_with_matches = >- BatchFindDuplicates( $batch_id, $matcher, 10, 50, >+ BatchFindDuplicates( $batch_id, $matcher, 1000, 50, > matching_progress_callback( $job, $dbh ) ); > SetImportBatchMatcher($batch_id, $matcher_id); > SetImportBatchOverlayAction($batch_id, $overlay_action); >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11496
:
24006
| 37626