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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 29 May 2024 12:33:28 +0000 (14:33 +0200)
commit5e405a29a8b5af3daf8c51f814844086d828e63a
tree20de25cab4db8be410a820f56cfe11a2ccf5bd50
parentd3dd7d20f1eae2bed24bb6833d08b4c80b4a250f
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>
(cherry picked from commit d4c70f7d07dcc0fe1319b6e0380abcd1b7400b95)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
admin/searchengine/elasticsearch/mappings.yaml