Bug 36953 - Add 678 to authority index (MARC21)
Summary: Add 678 to authority index (MARC21)
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Caroline Cyr La Rose
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-23 20:39 UTC by Caroline Cyr La Rose
Modified: 2024-07-20 01:35 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement adds field 678 (biographical or historical data) to the default MARC21 authority index mappings when using Elasticsearch or Open Search (it is already indexed if using Zebra).
Version(s) released in:
24.11.00
Circulation function:


Attachments
MARC file to test (350 bytes, text/plain)
2024-05-23 20:42 UTC, Caroline Cyr La Rose
Details
Bug 36953: Add 678 to authority index (MARC21) (1.40 KB, patch)
2024-05-23 20:45 UTC, Caroline Cyr La Rose
Details | Diff | Splinter Review
Bug 36953: Add 678 to authority index (MARC21) (1.45 KB, patch)
2024-05-23 21:46 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2024-05-23 20:39:21 UTC
In order to do a keyword search for biographical information in authorities, we would need to index field 678. This would make it possible to search the "entire record" for biographical information.
Comment 1 Caroline Cyr La Rose 2024-05-23 20:42:40 UTC
Created attachment 167135 [details]
MARC file to test

To recreate:
1. Import the attached .mrc file
2. Go to Authorities
3. Search "Entire record" for innu
   --> No results
4. Go to the OPAC > Authority search
5. Search "in the complete record" for innu
   --> No results
Comment 2 Caroline Cyr La Rose 2024-05-23 20:45:09 UTC
Created attachment 167136 [details] [review]
Bug 36953: Add 678 to authority index (MARC21)

This enhancement adds field 678 to the default MARC21 authority index mappings.

To test:
1. Import the attached .mrc file
2. Go to Authorities
3. Search "Entire record" for innu
   --> No results
4. Go to the OPAC > Authority search
5. Search "in the complete record" for innu
   --> No results
6. Apply patch
7. Reindex authorities (in KTD shell:
   koha-elasticsearch --rebuild -a -v -r kohadev)
8. Redo step 3
   --> 1 result
9. Redo steps 4-5
   --> 1 result
Comment 3 David Nind 2024-05-23 21:46:22 UTC
Created attachment 167140 [details] [review]
Bug 36953: Add 678 to authority index (MARC21)

This enhancement adds field 678 to the default MARC21 authority index mappings.

To test:
1. Import the attached .mrc file
2. Go to Authorities
3. Search "Entire record" for innu
   --> No results
4. Go to the OPAC > Authority search
5. Search "in the complete record" for innu
   --> No results
6. Apply patch
7. Reindex authorities (in KTD shell:
   koha-elasticsearch --rebuild -a -v -r kohadev)
8. Redo step 3
   --> 1 result
9. Redo steps 4-5
   --> 1 result

Signed-off-by: David Nind <david@davidnind.com>
Comment 4 David Nind 2024-05-23 21:47:01 UTC
Testing notes (using KTD):

1. Start up KTD with Elasticsearch: ktd --es8 up
Comment 5 Katrin Fischer 2024-06-27 15:13:40 UTC
Picked from QA queue for main.
Comment 6 Katrin Fischer 2024-06-27 15:26:56 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 7 Lucas Gass (lukeg) 2024-07-19 15:48:10 UTC
Enhancement will not be backported to 24.05.x