Bugzilla – Attachment 166655 Details for
Bug 36727
Add incorrect ISSN to Elasticsearch index mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36727: Add new issn-all Elasticsearch index for MARC21
Bug-36727-Add-new-issn-all-Elasticsearch-index-for.patch (text/plain), 2.39 KB, created by
Alex Buckley
on 2024-05-13 20:21:36 UTC
(
hide
)
Description:
Bug 36727: Add new issn-all Elasticsearch index for MARC21
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2024-05-13 20:21:36 UTC
Size:
2.39 KB
patch
obsolete
>From 153856dee74145beed793820fcd1953019982e01 Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Mon, 13 May 2024 18:13:07 +0000 >Subject: [PATCH] Bug 36727: Add new issn-all Elasticsearch index for MARC21 > >- This index searches 022ayz, 023ayz (MARC21) and 011ayz (UNIMARC). >- 011y and 011z have been removed from issn search field for UNIMARC. >- 022yz and 023yz have also been added to the identifier-standard search field > >Test plan: >1. Start up KTD with Elasticsearch: ktd --es8 up > >2. Add a new biblio record putting the value '0046-2254' into the incorrect ISSN subfield (022y /023y for MARC21, or 011z for UNIMARC) > >3. Do a biblio search for '0046-2254' and confirm no results are returned > >4. Apply this patch and restart all services (restart_all) > >5. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) > >6. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev > >7. Alternative to steps 5 and 6: reset_all > >8. Repeat the biblio search for '0046-2254' and confirm you get a result > >Sponsored-by: Education Services Australia SCIS >--- > .../searchengine/elasticsearch/mappings.yaml | 29 ++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 60173232dcc..7353c334b93 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2009,7 +2009,12 @@ biblios: > sort: 1 > suggestible: '' > - facet: '' >- marc_field: 022a >+ marc_field: 022ayz >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marc_field: 023ayz > marc_type: marc21 > sort: 1 > suggestible: '' >@@ -2129,6 +2134,28 @@ biblios: > marc_type: marc21 > sort: 1 > suggestible: '' >+ - facet: '' >+ marc_field: 011a >+ marc_type: unimarc >+ sort: 1 >+ suggestible: '' >+ opac: 1 >+ staff_client: 1 >+ type: stdno >+ issn-all: >+ label: issn-all >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marc_field: 022ayz >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marc_field: 023ayz >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' > - facet: '' > marc_field: 011ayz > 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 36727
:
166653
|
166654
|
166655
|
166656
|
167257
|
168046