From 395678474b3f6ece85d714185ff4a16fe133e5c5 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 19 May 2021 12:10:25 -0400 Subject: [PATCH] Bug 28393: Elasticsearch - Add 050a to lc-call-number index mapping (MARC21) This patch adds 050 $a to the mapping for the lc-call-number index. To test: 1) Apply patch 2) Reindex using rebuild_elasticsearch.pl -r If you don't have access to a terminal (in a sandbox for example) 2a) Go to Administration > Search engine configuration, click "Reset mappings" and confirm 2b) Then reindex I'm not sure how to search specifically for an LC call number. You can confirm that 050 $a is displayed in the Search engine configuration page. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- admin/searchengine/elasticsearch/mappings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 8e13d23331..4f19b9cd62 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -2540,7 +2540,7 @@ biblios: label: lc-call-number mappings: - facet: '' - marc_field: 050b + marc_field: 050ab marc_type: marc21 sort: ~ suggestible: '' -- 2.39.5