Bugzilla – Attachment 140398 Details for
Bug 31537
Elasticsearch - index mapping for 003 control-number-identifier is twice in mappings.yaml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31537: Elasticsearch - index mapping for 003 control-number-identifier is twice in mappings.yaml
Bug-31537-Elasticsearch---index-mapping-for-003-co.patch (text/plain), 1.55 KB, created by
Katrin Fischer
on 2022-09-11 13:30:45 UTC
(
hide
)
Description:
Bug 31537: Elasticsearch - index mapping for 003 control-number-identifier is twice in mappings.yaml
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-09-11 13:30:45 UTC
Size:
1.55 KB
patch
obsolete
>From c4ad8907fb8c15b4e8432b4bb887ef556d6489d8 Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Thu, 8 Sep 2022 11:54:19 -0400 >Subject: [PATCH] Bug 31537: Elasticsearch - index mapping for 003 > control-number-identifier is twice in mappings.yaml > >This patch removes one of the two mappings for the 003 field to the >control-number-identifier index (for MARC21). > >To test: >1) Apply patch >2) reindex with mappings reset >3) try to search for cni:code (for example cni:OSt) >--> it should return the desired results >4) try to search for control-number-identifier:code (for example >control-number-identifier:OSt) >--> it should return the desired results >5) Optionally, try the test plan in Bug 11175 to make sure it still >works > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > admin/searchengine/elasticsearch/mappings.yaml | 9 --------- > 1 file changed, 9 deletions(-) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 3eac85f09d..b5602f1a48 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2723,15 +2723,6 @@ biblios: > sort: ~ > suggestible: '' > type: '' >- control-number-identifier: >- label: control-number-identifier >- mappings: >- - facet: '' >- marc_field: 003 >- marc_type: marc21 >- sort: ~ >- suggestible: '' >- type: '' > record-source: > label: record-source > mappings: >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31537
:
140351
|
140355
| 140398