From 57cdbacee4c44545495984b82a9ebb11cd4f4785 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 --- 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.20.1