From 80df6bd7daf191ac434d6afe94f5d7798977e134 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 --- .../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 929f2f94103..9b88da97502 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -1027,7 +1027,7 @@ biblios: mandatory: ~ mappings: - facet: 1 - marc_field: 100a + marc_field: 100abc marc_type: marc21 sort: 1 suggestible: 1 @@ -1046,8 +1046,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 @@ -1061,6 +1066,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