Bugzilla – Attachment 123676 Details for
Bug 28381
Elasticsearch - Add 710 and 711 to default mappings for author index (MARC21)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28381: Elasticsearch - Add 710 and 711 to default mappings for author index (MARC21)
Bug-28381-Elasticsearch---Add-710-and-711-to-defau.patch (text/plain), 1.57 KB, created by
Katrin Fischer
on 2021-08-10 11:38:19 UTC
(
hide
)
Description:
Bug 28381: Elasticsearch - Add 710 and 711 to default mappings for author index (MARC21)
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-08-10 11:38:19 UTC
Size:
1.57 KB
patch
obsolete
>From 7cf03063bb1762737d14a920bab6010d662dc70a Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Tue, 18 May 2021 17:12:34 -0400 >Subject: [PATCH] Bug 28381: Elasticsearch - Add 710 and 711 to default > mappings for author index (MARC21) > >This patch adds fields 710$a and 711$a to the default author mappings for elasticsearch indexing. > >To test: >1) Apply patch >2) Reindex using rebuild_elasticsearch.pl -r > >If you don't have access to a terminal (in a sandbox for example) >2a) Go to Administration > Search engine configuration, click "Reset mappings" >and confirm >2b) Then reindex > >3) Search for an author name found only in 710 using the Author index >in advanced search >4) Repeat search for an author name in 711 > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > admin/searchengine/elasticsearch/mappings.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 292e9ac475..6b63918d93 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -1196,6 +1196,16 @@ biblios: > sort: ~ > suggestible: 1 > - facet: 1 >+ marc_field: 710a >+ marc_type: marc21 >+ sort: ~ >+ suggestible: 1 >+ - facet: 1 >+ marc_field: 711a >+ marc_type: marc21 >+ sort: ~ >+ suggestible: 1 >+ - facet: 1 > marc_field: 200f > marc_type: unimarc > sort: ~ >-- >2.11.0
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 28381
:
121135
|
123596
| 123676