Bug 33099: Add missing MARC21 Match authority mappings so "Search all headings" searc...
authorJanusz Kaczmarek <januszop@gmail.com>
Tue, 18 Apr 2023 19:42:24 +0000 (21:42 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 14 May 2024 13:34:29 +0000 (15:34 +0200)
commitd4c70f7d07dcc0fe1319b6e0380abcd1b7400b95
tree26947eac7419057ebd2cd40ebb8f4008c4d0912e
parent7291a312332e4fac7ac61288f33a001d4a7b306c
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>
admin/searchengine/elasticsearch/mappings.yaml