Bugzilla – Attachment 142362 Details for
Bug 31687
Add see from and see also from tracings in Match index (Elasticsearch, MARC21)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31687: Add see from and see also from tracings in Match index
Bug-31687-Add-see-from-and-see-also-from-tracings-.patch (text/plain), 3.92 KB, created by
Kyle M Hall (khall)
on 2022-10-21 13:17:17 UTC
(
hide
)
Description:
Bug 31687: Add see from and see also from tracings in Match index
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-10-21 13:17:17 UTC
Size:
3.92 KB
patch
obsolete
>From 490fc55cc26b331d1273ca2aa8aa5ad45901f701 Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Wed, 5 Oct 2022 11:08:11 -0400 >Subject: [PATCH] Bug 31687: Add see from and see also from tracings in Match > index >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch adds see from and see also from terms for uniform title, >chronological term, topical term, geographic name, and genre/form term >to the Match index in Elasticsearch for MARC21. > >Previously, only see from/see also from for personal names, >corporate names, and meeting names were indexed. > >To test: > >1. Without patch, import attached authority records >1.1. Download attached records >1.2. Go to Tools > Stage MARC records for import >1.3. Click 'Browse' and choose the downloaded file >1.4. Click 'Upload file' >1.5. Choose Record type = Authority >1.6. Click 'Stage for import' >1.7. From the job details, click 'View batch' >1.8. Click 'Import this batch into the catalog' > >2. Without patch, search for see from and see also from tracings >2.1. Go to Authorities >2.2. In the 'Default' drop-down menu, choose 'Uniform title' >2.3. Choose the 'Search all headings' tab >2.4. Enter the search term 'Five hundred' >2.5. Click 'Submit' or press 'Enter' > --> No results >2.6. Redo the search for the following search terms > >Authority type Search term Should be found in >Uniform title five hundred 430 >Uniform title films préférés 530 >Chronological term fifteenth 448 >Chronological term middle ages 548 >Topical term lalopathie 450 >Topical term troubles communication 550 >Geographic name cécropia 451 >Geographic name canada francophone 551 >Genre/Form term filmiques 455 >Genre/Form term films 555 > >3. Apply patch >4. Delete index, reset mappings and reindex authorities (with command line, -a -d -r) >5. Redo the searches from step 2, there should now be results > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../searchengine/elasticsearch/mappings.yaml | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 33f36852eb..c915b031cb 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -289,6 +289,31 @@ authorities: > marc_type: marc21 > sort: ~ > suggestible: '' >+ - facet: '' >+ marc_field: 430(adfghklmnoprstvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 448(avxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 450(abvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 451(avxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 455(avxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' > - facet: '' > marc_field: 500(abcdefghjklmnopqrstvxyz) > marc_type: marc21 >@@ -304,6 +329,31 @@ authorities: > marc_type: marc21 > sort: ~ > suggestible: '' >+ - facet: '' >+ marc_field: 530(adfghklmnoprstvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 548(avxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 550(abvxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 551(avxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' >+ - facet: '' >+ marc_field: 555(avxyz) >+ marc_type: marc21 >+ sort: ~ >+ suggestible: '' > - facet: '' > marc_field: 200(3478abcdfgjxyz) > marc_type: unimarc >-- >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 31687
:
141383
|
141384
|
141581
| 142362