From 7d8ca1d1c69bf1818d59dc14360deea48a7eb1d3 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 --- admin/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.11.0