Bugzilla – Attachment 166487 Details for
Bug 36723
Add musical presentation to Elasticsearch index mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 36723: Add musical presentation to Elasticsearch index mappings
bug-36723-Add-musical-presentation-to-Elasticsearc.patch (text/plain), 2.05 KB, created by
David Nind
on 2024-05-10 03:26:06 UTC
(
hide
)
Description:
bug 36723: Add musical presentation to Elasticsearch index mappings
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-10 03:26:06 UTC
Size:
2.05 KB
patch
obsolete
>From 4ca2d76dae5fd1ea429aa0d0e027469c70478003 Mon Sep 17 00:00:00 2001 >From: danyonsewell <danyonsewell@catalyst.net.nz> >Date: Fri, 10 May 2024 02:40:45 +0000 >Subject: [PATCH] bug 36723: Add musical presentation to Elasticsearch index > mappings > >After discussing with my team this morning we agreed the best way forward given the insight from Katrin would be to only include the addition to the index mappings and leave the advanced search dropdown additions as a customization for our client who requested it, due to it being more of a niche enchancement. I have amended the patch to only include the changes to the Elasticsearch mappings. > >Testing plan: > >1. Start up KTD with Elasticsearch: ktd --es8 up >2. Apply the patch and restart everything (restart_all). >3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) >4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev >5. Alternative to steps 3 and 4: reset_all >6. Update the visibility for 254$a in the default framework so that it is visible in the Editor (OPAC, Staff interface should already be selected). >7. Add a new record using the default framework and put a term in 254$a, such as 'Full score'. > >Sponsored-by: Education Services Australia SCIS >Signed-off-by: David Nind <david@davidnind.com> >--- > admin/searchengine/elasticsearch/mappings.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 09af08c430..60173232dc 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2731,6 +2731,18 @@ biblios: > opac: 1 > staff_client: 1 > type: '' >+ musical-presentation: >+ label: musical-presentation >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marc_field: '254' >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ opac: 1 >+ staff_client: 1 >+ type: '' > nal-call-number: > label: nal-call-number > mandatory: ~ >-- >2.39.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 36723
:
165938
|
165940
|
165941
|
166091
|
166093
|
166445
|
166446
|
166484
|
166485
|
166486
| 166487