Bug 33099: Add missing MARC21 Match authority mappings so "Search all headings" search works

The main entry form of corporate names (110), uniform titles (130), topical
terms (150), geographical names (151), and genre/form (155) are not indexed
with 'Match' search field in Elasticsearch standard mapping.  As a result,
the respective records are not present on the result list when performing
an 'All headings' search for the authority records with the main heading form
(MARC 21).

Test plan
=========
0. Have a test installation with Elasticsearch.
1. In Authorities, make an 'All headings' search for a main entry
   form from the corporate names, uniform titles, topical terms,
   geographical names, or genre/form
   --> e.g., in ktd: UK Archiving.  You will get no results.
2. Apply the patch, reindex with:
   sudo koha-elasticsearch --rebuild -r -a kohadev
3. Repeat the test. You should see 'UK Archiving' on the result list.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Janusz Kaczmarek 2023-04-18 21:42:24 +02:00 committed by Katrin Fischer
parent 7291a31233
commit d4c70f7d07
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 25 additions and 0 deletions

View File

@ -297,11 +297,36 @@ authorities:
marc_type: marc21
sort: 1
suggestible: ''
- facet: ''
marc_field: 110(abcdefghklmnoprstvxyz)
marc_type: marc21
sort: 1
suggestible: ''
- facet: ''
marc_field: 111(acdefghjklnpqstvxyz)
marc_type: marc21
sort: 1
suggestible: ''
- facet: ''
marc_field: 130(adfghklmnoprstvxyz)
marc_type: marc21
sort: 1
suggestible: ''
- facet: ''
marc_field: 150(abgvxyz)
marc_type: marc21
sort: 1
suggestible: ''
- facet: ''
marc_field: 151(agvxyz)
marc_type: marc21
sort: 1
suggestible: ''
- facet: ''
marc_field: 155(avxyz)
marc_type: marc21
sort: 1
suggestible: ''
- facet: ''
marc_field: 400(abcdefghjklmnopqrstvxyz)
marc_type: marc21