Bugzilla – Attachment 187588 Details for
Bug 39287
Improve "Show volume" search with a more specialized search index
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Test plan part 1: Zebra: 0) start instance with searchengine set to Zebra a) set system preference UseControlNumber to Use b) import bug_39287.xml from the attachements f.e. via More -> Cataloging -> Stage records for import Format is MARCXML c) After
Test-plan-part-1-Zebra-0-start-instance-with-searc.patch (text/plain), 2.17 KB, created by
Anke Bruns
on 2025-10-08 15:24:33 UTC
(
hide
)
Description:
Test plan part 1: Zebra: 0) start instance with searchengine set to Zebra a) set system preference UseControlNumber to Use b) import bug_39287.xml from the attachements f.e. via More -> Cataloging -> Stage records for import Format is MARCXML c) After
Filename:
MIME Type:
Creator:
Anke Bruns
Created:
2025-10-08 15:24:33 UTC
Size:
2.17 KB
patch
obsolete
>From e713e4de92ac8e9d4d8a495cbce1959d66f27ffa Mon Sep 17 00:00:00 2001 >From: Anke Bruns <anke.bruns@gwdg.de> >Date: Wed, 8 Oct 2025 15:13:03 +0000 >Subject: [PATCH] Test plan part 1: Zebra: 0) start instance with searchengine > set to Zebra a) set system preference UseControlNumber to Use b) import > bug_39287.xml from the attachements f.e. via More -> Cataloging -> Stage > records for import Format is MARCXML c) After import search for "main" and > open the record with "Main title" d) Click on Show volumes e) recognize > search string is "rcn:cnmain NOT (bib-level:a OR bib-level:b)" and 4 results > are found f) apply patch g) copy the necessary files to the zebra dirctory > sudo cp -i etc/zebradb/biblios/etc/bib1.att > /etc/koha/zebradb/biblios/etc/bib1.att sudo cp -i > etc/zebradb/ccl.properties /etc/koha/zebradb/ccl.properties sudo cp -i > etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl > /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl h) > restart zebra: sudo koha-zebra --restart kohadev i) rebuild the index: sudo > koha-rebuild-zebra -b -f -v kohadev j) restart_all k) redo step b) to d) l) > recognize search string is now 'rcn-volumes:cnmain NOT (bib-level:a OR > bib-level:b)' and only 2 records (volumes) are found > >Test plan part 2: Elasticsearch >0) start instance with searchengine set to Elasticsearch >a) Rebuild Elasticsearch index with --reset parameter to apply new mappings. >Redo test plan from part 1 step c) to d) and l) >m) sign off >--- > admin/searchengine/elasticsearch/mappings.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 139d66f..c2377d1 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -4454,3 +4454,17 @@ biblios: > opac: 1 > staff_client: 1 > type: '' >+ rcn-volumes: >+ label: rcn-volumes >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marc_field: 773w >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marc_field: '830w' >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >-- >2.39.5
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 39287
:
182765
|
182766
|
187584
| 187588