From 2da1ee6349f3e981dbb0efd246eb44e367440496 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 5 Oct 2022 12:01:46 -0400 Subject: [PATCH] Bug 31691: Remove non-existent fields from the See-from index (Elasticsearch, MARC21) This patch removes fields from the See-from index that don't exist in MARC21. The existing fields can be found here: https://www.loc.gov/marc/authority/ad4xx.html The following fields are removed: - 411$b - 411$m - 411$o - 411$r - 430$b - 430$c - 430$e - 440(abcdefghjklmnopqrstvxyz) (all of them, 440 doesn't exist at all) - 441(abcdefghklmnoprstvxyz) (all of them, 441 doesn't exist at all) - 444(abcdefghjklmnopqrstvxyz) (all of them, 444 doesn't exist at all) - 447$b - 447$e - 447$f - 447$h - 447$j - 447$k - 447$l - 447$m - 447$n - 447$o - 447$p - 447$q - 447$r - 447$s - 447$t - 448$b - 448$c - 448$d - 448$e - 448$f - 448$g - 448$h - 448$k - 448$l - 448$m - 448$n - 448$o - 448$p - 448$r - 448$s - 448$t - 462$b - 462$c - 462$d - 462$e - 462$f - 462$g - 462$h - 462$k - 462$l - 462$m - 462$n - 462$o - 462$p - 462$r - 462$s - 462$t - 462$v - 462$x - 462$y - 462$z Signed-off-by: David Nind Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../searchengine/elasticsearch/mappings.yaml | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml index c915b031cb..2808ee2e8b 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -740,42 +740,27 @@ authorities: sort: ~ suggestible: '' - facet: '' - marc_field: 411(abcdefghjklmnopqrstvxyz) - marc_type: marc21 - sort: ~ - suggestible: '' - - facet: '' - marc_field: 430(abcdefghklmnoprstvxyz) - marc_type: marc21 - sort: ~ - suggestible: '' - - facet: '' - marc_field: 440(abcdefghjklmnopqrstvxyz) - marc_type: marc21 - sort: ~ - suggestible: '' - - facet: '' - marc_field: 441(abcdefghklmnoprstvxyz) + marc_field: 411(acdefghjklnpqstvxyz) marc_type: marc21 sort: ~ suggestible: '' - facet: '' - marc_field: 444(abcdefghjklmnopqrstvxyz) + marc_field: 430(adfghklmnoprstvxyz) marc_type: marc21 sort: ~ suggestible: '' - facet: '' - marc_field: 447(abcdefghjklmnopqrstvxyz) + marc_field: 447(acdgvxyz) marc_type: marc21 sort: ~ suggestible: '' - facet: '' - marc_field: 448(abcdefghklmnoprstvxyz) + marc_field: 448(avxyz) marc_type: marc21 sort: ~ suggestible: '' - facet: '' - marc_field: 462(abcdefghklmnoprstvxyz) + marc_field: 462a marc_type: marc21 sort: ~ suggestible: '' -- 2.39.5