Bugzilla – Attachment 164656 Details for
Bug 33099
Add missing MARC21 match authority mappings so "Search all headings" search works
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33099: Add missing MARC21 Match authority mappings so "Search all headings" search works
Bug-33099-Add-missing-MARC21-Match-authority-mappi.patch (text/plain), 2.32 KB, created by
Janusz Kaczmarek
on 2024-04-11 08:16:39 UTC
(
hide
)
Description:
Bug 33099: Add missing MARC21 Match authority mappings so "Search all headings" search works
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2024-04-11 08:16:39 UTC
Size:
2.32 KB
patch
obsolete
>From a09518264221982a4ba191b3056dcf63772f8006 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Tue, 18 Apr 2023 21:42:24 +0200 >Subject: [PATCH] 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. >--- > .../searchengine/elasticsearch/mappings.yaml | 25 +++++++++++++++++++ > 1 file changed, 25 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 9cd3db5c96..e397f2008d 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -297,11 +297,36 @@ authorities: > marc_type: marc21 > sort: 1 > suggestible: '' >+ - facet: '' >+ marc_field: 110(abcdefghklmnoprstvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' > - facet: '' > marc_field: 111(acdefghjklnpqstvxyz) > marc_type: marc21 > sort: 1 > suggestible: '' >+ - facet: '' >+ marc_field: 130(adfghklmnoprstvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 150(abgvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 151(agvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 155(avxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' > - facet: '' > marc_field: 400(abcdefghjklmnopqrstvxyz) > marc_type: marc21 >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33099
:
164656
|
164659
|
164868
|
166630