From cc11e16ee87e9baf1ee93d5c7f659891d5160673 Mon Sep 17 00:00:00 2001
From: Claire Hernandez <claire.hernandez@biblibre.com>
Date: Thu, 17 May 2018 07:45:32 +0000
Subject: [PATCH] Bug 20390: (follow-up) UNIMARC biblio mappings
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

    - Clean the title mapping for Unimarc: 464, 413 and 454 are kept.
If you need more, it is better to add it at the installation than removing a lot.

    - Change type of 995w for unimarc

Sponsored-by: BULAC (Bibliothèque universitaire des langues et civilisations)
---
 etc/searchengine/elasticsearch/mappings.yaml | 192 +--------------------------
 1 file changed, 1 insertion(+), 191 deletions(-)

diff --git a/etc/searchengine/elasticsearch/mappings.yaml b/etc/searchengine/elasticsearch/mappings.yaml
index cfed046aeb..462c22f6e4 100644
--- a/etc/searchengine/elasticsearch/mappings.yaml
+++ b/etc/searchengine/elasticsearch/mappings.yaml
@@ -2559,7 +2559,7 @@ biblios:
         marc_type: unimarc
         sort: 1
         suggestible: ''
-    type: sum
+    type: string
   item:
     label: item
     mappings:
@@ -3849,211 +3849,21 @@ biblios:
         sort: ~
         suggestible: ''
       - facet: ''
-        marc_field: 410t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 411t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 412t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
         marc_field: 413t
         marc_type: unimarc
         sort: ~
         suggestible: ''
       - facet: ''
-        marc_field: 421t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 422t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 423t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 424t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 425t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 430t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 431t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 432t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 433t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 434t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 435t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 436t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 437t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 440t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 441t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 442t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 443t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 444t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 445t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 446t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 447t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 448t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 451t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 452t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 453t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
         marc_field: 454t
         marc_type: unimarc
         sort: ~
         suggestible: ''
       - facet: ''
-        marc_field: 455t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 456t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 461t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 462t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 463t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
         marc_field: 464t
         marc_type: unimarc
         sort: ~
         suggestible: ''
       - facet: ''
-        marc_field: 481t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 482t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: 488t
-        marc_type: unimarc
-        sort: ~
-        suggestible: ''
-      - facet: ''
-        marc_field: '463a'
-        marc_type: unimarc
-        sort: ~
-        suggestible:
-      - facet: ''
-        marc_field: '470t'
-        marc_type: unimarc
-        sort: ~
-        suggestible:
-      - facet: ''
         marc_field: '500'
         marc_type: unimarc
         sort: ~
-- 
2.11.0