[Koha-bugs] [Bug 31687] Add see from and see also from tracings in Match index (Elasticsearch, MARC21)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 10 20:43:48 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #141384|0                           |1
        is obsolete|                            |

--- Comment #3 from David Nind <david at davidnind.com> ---
Created attachment 141581
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141581&action=edit
Bug 31687: Add see from and see also from tracings in Match index

This patch adds see from and see also from terms for uniform title,
chronological term, topical term, geographic name, and genre/form term
to the Match index in Elasticsearch for MARC21.

Previously, only see from/see also from for personal names,
corporate names, and meeting names were indexed.

To test:

1. Without patch, import attached authority records
1.1. Download attached records
1.2. Go to Tools > Stage MARC records for import
1.3. Click 'Browse' and choose the downloaded file
1.4. Click 'Upload file'
1.5. Choose Record type = Authority
1.6. Click 'Stage for import'
1.7. From the job details, click 'View batch'
1.8. Click 'Import this batch into the catalog'

2. Without patch, search for see from and see also from tracings
2.1. Go to Authorities
2.2. In the 'Default' drop-down menu, choose 'Uniform title'
2.3. Choose the 'Search all headings' tab
2.4. Enter the search term 'Five hundred'
2.5. Click 'Submit' or press 'Enter'
 --> No results
2.6. Redo the search for the following search terms

Authority type          Search term             Should be found in
Uniform title           five hundred            430
Uniform title           films préférés          530
Chronological term      fifteenth               448
Chronological term      middle ages             548
Topical term            lalopathie              450
Topical term            troubles communication  550
Geographic name cécropia                451
Geographic name canada francophone      551
Genre/Form term filmiques               455
Genre/Form term films                   555

3. Apply patch
4. Delete index, reset mappings and reindex authorities (with command line, -a
-d -r)
5. Redo the searches from step 2, there should now be results

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list