From 4c095218790767f14a9edae4386174b53a752b44 Mon Sep 17 00:00:00 2001 From: Ere Maijala Date: Tue, 12 Mar 2019 11:29:33 +0200 Subject: [PATCH] Bug 22495: Restore Elasticsearch mapping for su-geo Test plan: 1. Reset mappings 2. Run perl misc/search_tools/rebuild_elastic_search.pl -d -b -v 3. Do a search and verify that the Places facet works Signed-off-by: Jonathan Druart Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens (cherry picked from commit 53b059afbb5731373a92a3ebaaceea4e1d656363) Signed-off-by: Martin Renvoize --- .../searchengine/elasticsearch/mappings.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index ec0db59357..5cb2c18aa4 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -3400,6 +3400,25 @@ biblios: sort: ~ suggestible: '' type: '' + su-geo: + label: su-geo + mappings: + - facet: '1' + marc_field: 651a + marc_type: marc21 + sort: ~ + suggestible: '' + - facet: '1' + marc_field: 651a + marc_type: normarc + sort: ~ + suggestible: '' + - facet: '1' + marc_field: 607a + marc_type: unimarc + sort: ~ + suggestible: '' + type: string subject: label: subject mappings: -- 2.39.5