From cb0847ef775e3aa842304aabe94fbf8be012b087 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Mon, 12 Mar 2018 16:12:20 +0000 Subject: [PATCH] Bug 17373: Add mappings for unimarc authorities - Match index MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Test plan: 1. apply patches 2. switch SearchEngine syspref to ElasticSearch 3. load new mapping (admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1) 4. load some unimarc authorities like the sample attached to bug 17373 5. reindex authorities (./misc/search_tools/rebuild_elastic_search.pl -d -a -v) 6. search entire notice for shalev or שלו 7. you should find stuff Signed-off-by: Nicolas Legrand Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 199c2f33d93a33bb56d422a6abdeb334fd988faf) Signed-off-by: Fridolin Somers --- .../searchengine/elasticsearch/mappings.yaml | 235 ++++++++++++++++++ 1 file changed, 235 insertions(+) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 5ff3938d5b..53dee2b8b1 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -372,6 +372,241 @@ authorities: marc_type: normarc sort: ~ suggestible: '' + - facet: '' + marc_field: 2003478abcdfgjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 2103478abcdefghxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 21578ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 216378acfjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 220378afjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 2308abhijklmqrsuwxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 235378abeijkmratsuwxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 2408abcfjtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 245ajtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 2508abcdjvxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 260378abcd + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 280378ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 4000234568abcdfgjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 41002345678abcdefghjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 4150235678ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 416acfjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 420afjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 4300235678abhijklmnqrsuwxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 4350235678abejkmrsuwxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 4400235678abcdfjtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 445ajtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 4500235678ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 460abcd + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 480ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 500023456789abcdfgjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 51002345678abcdefghjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 5150356789ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 5169acfjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 5209afjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 53002356789abhijklmnqrsuwxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 53502356789abjkmqrsuwxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 5400235678ajtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 5459ajtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 55002356789abjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 56059abcd + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 58059ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 70023478abcdfgjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 71023478abcdefghjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 7152378ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 716acfjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 720afjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 7302378abhijklmnqrsuwxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 7402378ajtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 745378ajtxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 75023789abjxyz + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 760abcd + marc_type: unimarc + sort: ~ + suggestible: '' + - facet: '' + marc_field: 780ajxyz + marc_type: unimarc + sort: ~ + suggestible: '' type: '' Match-heading: label: Match-heading -- 2.39.5