Bugzilla – Attachment 167295 Details for
Bug 36728
Add cancelled/valid standard number to Elasticsearch index mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36728: Add cancelled/invalid standard number (024z) to ES index mappings
Bug-36728-Add-cancelledinvalid-standard-number-024.patch (text/plain), 2.11 KB, created by
David Nind
on 2024-05-30 22:13:17 UTC
(
hide
)
Description:
Bug 36728: Add cancelled/invalid standard number (024z) to ES index mappings
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-30 22:13:17 UTC
Size:
2.11 KB
patch
obsolete
>From 4516bdf0cb98496db03c966527cdd07ae6906e6d Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Wed, 15 May 2024 12:42:09 +1200 >Subject: [PATCH] Bug 36728: Add cancelled/invalid standard number (024z) to ES > index mappings > >- Added a new index invalid-identifier-other for 024z >- Added 024az to existing indentifier-standard index > >Test plan: >1. Start up KTD with Elasticsearch: ktd --es8 up > >2. Add a new biblio record putting the value '2471697678526' into the cancelled/valid standard number ( 024$z) > >3. Do a biblio search for '2471697678526' 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 '2471697678526' and confirm you get a result > >Sponsored-by: Education Services Australia SCIS >Signed-off-by: David Nind <david@davidnind.com> >--- > admin/searchengine/elasticsearch/mappings.yaml | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 929f2f9410..2c109bdd49 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -1987,6 +1987,18 @@ biblios: > opac: 1 > staff_client: 1 > type: '' >+ invalid-identifier-other: >+ label: invalid-identifier-other >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marc_field: 024z >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ opac: 1 >+ staff_client: 1 >+ type: '' > identifier-publisher-for-music: > label: identifier-publisher-for-music > mandatory: ~ >@@ -2038,6 +2050,11 @@ biblios: > marc_type: marc21 > sort: 1 > suggestible: '' >+ - facet: '' >+ marc_field: 024az >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' > - facet: '' > marc_field: 010az > marc_type: unimarc >-- >2.39.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 36728
:
166745
| 167295