Bug 28203 - Add Match-heading search field and UNIMARC mappings
Summary: Add Match-heading search field and UNIMARC mappings
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Alex Arnaud
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-23 12:26 UTC by Alex Arnaud
Modified: 2023-07-01 08:36 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 28203: Add Match-heading search fields and related unimarc mappings (2.17 KB, patch)
2021-04-23 13:03 UTC, Alex Arnaud
Details | Diff | Splinter Review
Bug 28203: Add Match-heading-see-from unimarc mappings (2.08 KB, patch)
2021-04-23 13:03 UTC, Alex Arnaud
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Arnaud 2021-04-23 12:26:14 UTC
As the authority matching use Match-heading index, we should add these search field and related mapping to avoid authority duplicating when cataloguing biblios ( Biblioaddsauthorities and AutoCreateAuthorities enabled).
Comment 1 Alex Arnaud 2021-04-23 13:03:19 UTC
Created attachment 120093 [details] [review]
Bug 28203: Add Match-heading search fields and related unimarc mappings
Comment 2 Alex Arnaud 2021-04-23 13:03:25 UTC
Created attachment 120094 [details] [review]
Bug 28203: Add Match-heading-see-from unimarc mappings
Comment 3 David Nind 2022-05-01 23:59:54 UTC
Hi Alex.

Are you able to provide a test plan? I'd then be happy to test.

I got part of the way (UNIMARC instance with Elasticsearch), but I'm not familiar enough with mappings and searching/authorities to be able to do it without one.

This is how far I got:

1. On a UNIMARC installation:
   - Enable Elasticsearch (set searchengine system preference to Elasticsearch)
   - Reindex: koha-elasticsearch --rebuild -b -a kohadev
   - Enable Biblioaddsauthorities (set to allow) and AutoCreateAuthorities (set to generate) system references, if not already enabled

2. Replicate the issue: authority record duplicated because here are no mappings for the search for XXX when cataloging a new record:
   - setup a subfield to use authorities when adding or editing(?)

3. Apply the patch.

4. Repeat step 2:
   => Result: authority found and not duplicated

David
Comment 4 Fridolin Somers 2022-08-02 19:13:16 UTC
Looks like is is missing 245 for auth type NAME_COL
Comment 5 Katrin Fischer 2022-10-01 08:03:14 UTC
Please don't forget to fill in Assignee, thx!
Comment 6 Nick Clemens (kidclamp) 2022-11-16 11:34:10 UTC
I don't think this is correct - Match-heading is a standardized format based on the heading of the authority record - it is constructed according to set rules and does not need to be configurable.

The field has been removed from mappings and is auto-constructed in the indexing now

The changes for Match-heading-see-from could be moved forward, I am not sure how utilized this field is though