From 70819987185b2c9d14c5a94887d27e5de7b10e87 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 7 Aug 2025 23:33:36 +0000 Subject: [PATCH] Bug 36724: Add cartographic mathematical data to Elasticsearch index mappings Testing plan: 1. Start up KTD with Elasticsearch: ktd --es8 up 2. Apply the patch and restart everything (restart_all). 3. Reindex and reset mappings: koha-elasticsearch --rebuild -r -b -a kohadev 4. Go to Koha administration -> MARC bibliographic frameworks and edit the Default framework. Edit the subfields for the 255 tag. Update the visibility for 255$a & 255$b so that it is visible in the Editor. 5. Add a new record using the default framework and put a unique term in both field 255$a and 255$b. 6. Using the basic keyword search, search for the terms you put in step 7. Confirm your new record is returned in the results. Sponsored-by: Education Services Australia SCIS Signed-off-by: David Nind --- admin/searchengine/elasticsearch/mappings.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 139d66ffc48..10e52b6514b 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -2735,6 +2735,11 @@ biblios: marc_type: marc21 sort: 1 suggestible: '' + - facet: '' + marc_field: '255ab' + marc_type: marc21 + sort: 1 + suggestible: '' opac: 1 staff_client: 1 type: '' -- 2.39.5