From d587faae833226d288efac20d4241fca47b7e7e8 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Tue, 18 May 2021 16:13:17 -0400 Subject: [PATCH] Bug 28379: Elasticsearch - Add 710 to author-name-corporate index (MARC21) This patch adds 710 to the default author-name-corporate index mappings for elasticsearch. 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 3) Search for an author name found only in 710 using the Author (Corporate name) index in advanced search Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- 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 292e9ac475..c6bdd759b3 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -1264,6 +1264,11 @@ biblios: sort: ~ suggestible: '' - facet: '' + marc_field: 710 + marc_type: marc21 + sort: ~ + suggestible: '' + - facet: '' marc_field: 711 marc_type: marc21 sort: ~ -- 2.11.0