From 8d3a76f6f7f9b8ae8420a3875c3a92cbf7630ab7 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 18 Sep 2020 15:09:10 +0200 Subject: [PATCH] Bug 26487: Add all MARC flavours for not-onloan-count search field In admin/searchengine/elasticsearch/mappings.yaml the search field not-onloan-count is defined for MARC21 on 999x. This should be for all the MARC flavours, like in Zebra config. Test plan: 1) On a UNIMARC database 2) Reset Elasticsearch mappings 3) Check search engine config to see field 'not-onloan-count' on 999$x 4) Same on a NORMARC database --- admin/searchengine/elasticsearch/mappings.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 847647e0fd..eef51c0f13 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -2968,6 +2968,16 @@ biblios: marc_type: marc21 sort: ~ suggestible: '' + - facet: '' + marc_field: 999x + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 999x + marc_type: normarc + sort: ~ + suggestible: '' type: '' note: label: note -- 2.27.0