Bugzilla – Attachment 167426 Details for
Bug 36724
Add cartographic mathematical data to Elasticsearch index mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36724: Add cartographic mathematical data to Elasticsearch index mappings
Bug-36724-Add-cartographic-mathematical-data-to-El.patch (text/plain), 1.81 KB, created by
Danyon Sewell
on 2024-06-05 04:51:50 UTC
(
hide
)
Description:
Bug 36724: Add cartographic mathematical data to Elasticsearch index mappings
Filename:
MIME Type:
Creator:
Danyon Sewell
Created:
2024-06-05 04:51:50 UTC
Size:
1.81 KB
patch
obsolete
>From bb0b99a2b3874aef1dc8c11d8dd45bab927fc9b2 Mon Sep 17 00:00:00 2001 >From: danyonsewell <danyonsewell@catalyst.net.nz> >Date: Wed, 5 Jun 2024 04:49:00 +0000 >Subject: [PATCH] Bug: 36724 Add cartographic mathematical data to > Elasticsearch index mappings > >Have written a patch to allow cartographic mathematical data to be searched using the default keyword search index. > >Testing plan: > >1. Start up KTD with Elasticsearch: ktd --es8 up >2. Apply the patch and restart everything (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. Update the visibility for 255$a & 255$b in the default framework so that it is visible in the Editor. >7. Add a new record using the default framework and put a unique term in both field 255$a and 255$b. >8. Using the basic keyword search, search for the terms you put in step 7. >--- > admin/searchengine/elasticsearch/mappings.yaml | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index c009f00fd5..424119097b 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -948,6 +948,22 @@ biblios: > opac: 1 > staff_client: 1 > type: '' >+ label: Cartographic Mathematical Data >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marc_field: '255a' >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ - facet: '' >+ marc_field: '255b' >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ opac: 1 >+ staff_client: 1 >+ type: '' > acqsource: > label: acqsource > mandatory: ~ >-- >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 36724
:
167426
|
167428
|
167647