X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig-xml%2Fevergreen_staged_report.xml;h=b246603d86e7d89cf60dc2d988f31c3e87759571;hp=3dbb36b41d759163910903e933f5fcc7474ae404;hb=6ddea01a5729d7d83209d4490245c5fbde64ac80;hpb=55b8c745e9563245a55f799ed01e60733e91f4b8
diff --git a/mig-xml/evergreen_staged_report.xml b/mig-xml/evergreen_staged_report.xml
index 3dbb36b..b246603 100644
--- a/mig-xml/evergreen_staged_report.xml
+++ b/mig-xml/evergreen_staged_report.xml
@@ -1029,25 +1029,36 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3
+
+ dedupe_explain
+ dedupe
+ dedupe_process.asciidoc
+
+
- dedupe_format_count
+ dedupe_bib_groups
dedupe
0
- Count of Items Matching By Format
- Count.Format(s)
- SELECT COUNT(id), search_formats FROM bib_matches GROUP BY 2 ORDER BY 2;
+ Scoring and Bib Record Groups
+ Count.Bib REcord Groups
+ SELECT COUNT(id), 'Total Bibs Being Evaluated' FROM biblio.record_entry WHERE deleted IS FALSE AND id IN (SELECT eg::BIGINT FROM bib_id_map)
+ UNION ALL SELECT (COUNT(DISTINCT incoming_bib)), 'Incoming Bibs With Matches Found' FROM bib_matches
+ UNION ALL SELECT (COUNT(bre.id) - (SELECT COUNT(DISTINCT incoming_bib) FROM bib_matches)), 'Incoming Bibs With No Match'
+ FROM biblio.record_entry bre WHERE bre.deleted IS FALSE AND bre.id IN (SELECT eg::BIGINT FROM bib_id_map)
+ UNION ALL SELECT COUNT(DISTINCT incoming_bib), 'Incoming Bibs Being Merged into Incumbent' FROM bib_matches WHERE incumbent_bib_score >= incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Higher Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score > incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Equal Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score = incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Lower Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score < incoming_bib_score
+ ;
-
+
- dedupe_scores
+ dedupe_format_count
dedupe
0
- Scoring Values in Matches
- Count.Scoring Information
- SELECT COUNT(id), 'Incumbent Records With Higher Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score > incoming_bib_score
- UNION ALL SELECT COUNT(id), 'Incumbent Records With Equal Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score = incoming_bib_score
- UNION ALL SELECT COUNT(id), 'Incumbent Records With Lower Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score < incoming_bib_score
- ;
+ Count of Items Matching By Format
+ Count.Format(s)
+ SELECT COUNT(id), search_formats FROM bib_matches GROUP BY 2 ORDER BY 2;