Bugzilla – Attachment 140351 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.45 KB, created by
Caroline Cyr La Rose
on 2022-09-08 16:13:14 UTC
(
hide
)
Description:
Bug 31537: Elasticsearch - index mapping for 003 control-number-identifier is twice in mappings.yaml
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2022-09-08 16:13:14 UTC
Size:
1.45 KB
patch
obsolete
>From bd6c9554c743a3d5685c9959f39d60e5f38e6390 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 >--- > 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.25.1
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