From fd7b65015061b64a0f367c2d5bf33634c142fd03 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Tue, 18 May 2021 15:50:34 -0400 Subject: [PATCH] Bug 28339: Elasticsearch - Add 8XX to default title-series index mappings (MARC21) This patch adds series added entries titles (800 $t, 810 $t, 811 $t, and 830 $a) in the default title-series index mappings. To test: 1) Apply patch 2) Reindex using rebuildelasticsearch.pl -r If you don't have access to a terminal (in a sandbox for example) 2a) Go to Administration > Search engine configuration and click "Reset mappings" and confirm 2b) Then reindex 3) Search for a series title found only in and added entry field Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- admin/searchengine/elasticsearch/mappings.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 292e9ac475..c0981c5fc7 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -4311,6 +4311,26 @@ biblios: sort: ~ suggestible: '' - facet: 1 + marc_field: 800t + marc_type: marc21 + sort: ~ + suggestible: '' + - facet: 1 + marc_field: 810t + marc_type: marc21 + sort: ~ + suggestible: '' + - facet: 1 + marc_field: 811t + marc_type: marc21 + sort: ~ + suggestible: '' + - facet: 1 + marc_field: 830a + marc_type: marc21 + sort: ~ + suggestible: '' + - facet: 1 marc_field: 225a marc_type: unimarc sort: ~ -- 2.11.0