From e33571c3f3738038183ca3ebe2d442dd87382275 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Thu, 30 May 2024 00:56:43 +0000 Subject: [PATCH] Bug 36851: Enhance Elasticsearch author, author as phrase MARC21 index mappings Add the following tags and subfields to the existing author index for Elasticsearch MARC21, as used by the "author" and "author as phrase" advanced search dropdown options: 100abc (currently 100a), 700abc (currently 700a), 250b, 800abc, 810ab Sponsored-by: Educational Services Australia SCIS Signed-off-by: David Nind Signed-off-by: Thomas Klausner --- .../searchengine/elasticsearch/mappings.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index 17e513fb6f..28189ebf29 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -1051,7 +1051,7 @@ biblios: mandatory: ~ mappings: - facet: 1 - marc_field: 100a + marc_field: 100abc marc_type: marc21 sort: 1 suggestible: 1 @@ -1070,8 +1070,13 @@ biblios: marc_type: marc21 sort: 1 suggestible: '' + - facet: '' + marc_field: 250b + marc_type: marc21 + sort: 1 + suggestible: '' - facet: 1 - marc_field: 700a + marc_field: 700abc marc_type: marc21 sort: 1 suggestible: 1 @@ -1085,6 +1090,16 @@ biblios: marc_type: marc21 sort: 1 suggestible: 1 + - facet: 1 + marc_field: 800abc + marc_type: marc21 + sort: 1 + suggestible: 1 + - facet: 1 + marc_field: 810ab + marc_type: marc21 + sort: 1 + suggestible: 1 - facet: 1 marc_field: 200f marc_type: unimarc -- 2.39.2