Bugzilla – Attachment 24006 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]
proposed patch
0001-BZ11496-Raise-number-of-tested-records-when-searchin.patch (text/plain), 1.42 KB, created by
Matthias Meusburger
on 2014-01-08 09:44:51 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Matthias Meusburger
Created:
2014-01-08 09:44:51 UTC
Size:
1.42 KB
patch
obsolete
>From 09894c7513e691755b17ad30e83966394ec4c931 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] BZ11496: 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 8d6ab1a..efffef0 100755 >--- a/tools/stage-marc-import.pl >+++ b/tools/stage-marc-import.pl >@@ -148,7 +148,7 @@ if ($completedJobID) { > $checked_matches = 1; > $matcher_code = $matcher->code(); > $num_with_matches = BatchFindDuplicates($batch_id, $matcher, >- 10, 50, matching_progress_callback($job, $dbh)); >+ 1000, 50, matching_progress_callback($job, $dbh)); > SetImportBatchMatcher($batch_id, $matcher_id); > SetImportBatchOverlayAction($batch_id, $overlay_action); > SetImportBatchNoMatchAction($batch_id, $nomatch_action); >-- >1.8.3.2 >
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