The authorities search option to "Search all headings" is actually the most useful choice, but with ElasticSearch it only really works for personal names and meeting names, because while https://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=admin/searchengine/elasticsearch/mappings.yaml;h=e892f9126c2b080fb00a931207f907917128c003;hb=HEAD#l264 maps 4xx and 5xx see and see-also headings for all types of authorities for the Match index, it only maps 100 and 111, missing 110, 130, 148, 150, 151 and 155 for main headings.
*** Bug 36553 has been marked as a duplicate of this bug. ***
Created attachment 164656 [details] [review] 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.
Created attachment 164659 [details] [review] 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.
Created attachment 164868 [details] [review] 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>
At a glance, this looks very useful.
Created attachment 166630 [details] [review] 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>
Obvious improvement, thanks. No QA issues, working as expected. Passing QA
I think adding a release note would be helpful here as we fix default mappings, but not the existing installations.
Pushed for 24.05! Well done everyone, thank you!
Pushed to 23.11.x for 23.11.06
Backported to 23.05.x for upcoming 23.05.12