Bugzilla – Attachment 166653 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), 1.97 KB, created by
Alex Buckley
on 2024-05-13 18:44:38 UTC
(
hide
)
Description:
Bug 36727: Add new issn-all Elasticsearch index for MARC21
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2024-05-13 18:44:38 UTC
Size:
1.97 KB
patch
obsolete
>From 04efd1157c52af7c1b3b84c93305e5acf8b48fd2 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 022ay, 023ay (MARC21) and 011ayz (UNIMARC). >011y and 011z have been removed from issn search field for UNIMARC. > >Test plan: >1. Start up KTD with Elasticsearch: ktd --es8 up > >2. Apply this patch and restart all services (restart_all) > >3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) > >4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev > >5. Alternative to steps 3 and 4: reset_all > >6. Add a new biblio record putting the value '0046-2254' into the incorrect ISSN subfield (022y / 023y for MARC21), or if using UNIMARC then 011z > >7. Make a biblio search for '0046-2254' and confirm you get a result > >Sponsored-by: Education Services Australia SCIS >--- > .../searchengine/elasticsearch/mappings.yaml | 24 ++++++++++++++++++- > 1 file changed, 23 insertions(+), 1 deletion(-) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 60173232dcc..bb166578830 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2130,7 +2130,29 @@ biblios: > sort: 1 > suggestible: '' > - facet: '' >- marc_field: 011ayz >+ marc_field: 011a >+ marc_type: unimarc >+ sort: 1 >+ suggestible: '' >+ opac: 1 >+ staff_client: 1 >+ type: stdno >+ issn-all: >+ label: issn-all >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marcfield: 022ay >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marcfield: 023ay >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marcfield: 011ayz > marc_type: unimarc > sort: 1 > suggestible: '' >-- >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