From b87384bf3a72595f7c7229ed0e7dc41d9942fd17 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 --- 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 292e9ac475..9aa3f4c8b1 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -2520,7 +2520,7 @@ biblios: label: lc-call-number mappings: - facet: '' - marc_field: 050b + marc_field: 050ab marc_type: marc21 sort: ~ suggestible: '' -- 2.11.0