From e87512fc3f172a462f728b450d2a399cfc2d1c35 Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Tue, 3 Feb 2026 12:11:24 +0000 Subject: [PATCH] Bug 41758: Add Fingerprint Identifier data to Elasticsearch index mappings Libraries cataloguing older monographic resources request fingerprint indexing. In MARC 21, it would be the content of field 026, in UNIMARC - 012. Test plan ========= 1. Start up KTD with Elasticsearch: ktd --search-engine es8 up -d 2. Make field 026 active for Editor in MARC framework section (e.g. in default framework). 3. Edit any bibliographic record (with modified framework) adding 026 field data, e.g. 026 ## $a urdu esrt $b eses jecl $c 1790 4. Verify that you are unable to find the record searching with fingerprint data. 5. Apply the patch ; restart_all. 6. Reindex with: koha-elasticsearch --rebuild -r -d kohadev 7. Now you should be able to find the record searching with fingerprint data (performing a general search or prefixed with 'fingerprint-identifier:'). Sponsored-by: Ignatianum University in Cracow --- 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 6f69baf483..97fb5b92ba 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -1904,6 +1904,23 @@ biblios: opac: 1 staff_client: 1 type: '' + fingerprint-identifier: + label: Fingerprint identifier + mandatory: ~ + mappings: + - facet: '' + marc_field: '026' + marc_type: marc21 + sort: 1 + suggestible: '' + - facet: '' + marc_field: '012' + marc_type: unimarc + sort: 1 + suggestible: '' + opac: 1 + staff_client: 1 + type: '' geographic-class: label: geographic-class mandatory: ~ -- 2.39.5