Bug 39516

Summary: Record and display record matching rule composite scores
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: MARC Bibliographic record staging/importAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2025-04-01 16:01:00 UTC
When viewing a batch of staged biblio or authority records, those records which found matches show their final match score. It would be helpful to store and display  the composite values that are added together to make that final score.

An example matching rule:
Match threshold: 100
Match point 1:
- search index: title
- score: 50
- tag: 245$a
Match point 2:
- search index: author
- score: 50
- tag: 100$a
Match point 3:
- search index: isbn
- score: 100
- tag: 020$a

Currently, a staged bib that found a match via the combination of title and author would just show "(score=100)" in the staged batch view. A bib that matched just on ISBN would show the same thing, "(score=100)."

It'd be helpful to instead show something like "(score= title:50, author:50)" or "(score= isbn:100)"