From 88cfb35e5e3dd29dfe85ebea6373eaf8185f53df Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 3 Apr 2026 19:38:54 +0000 Subject: [PATCH] Bug 42156: Add a stdno index for authid In order to allow matching on authid we need a search index with a ci_raw field local-number is indexed as a number, and needed that way for sorting. This adds a stdno version of 001 as authid Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Lucas Gass --- 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 76a0c625af..e0392bc8df 100644 --- a/admin/searchengine/elasticsearch/mappings.yaml +++ b/admin/searchengine/elasticsearch/mappings.yaml @@ -1,5 +1,22 @@ --- authorities: + authid: + label: authid + mandatory: ~ + mappings: + - facet: '' + marc_field: '001' + marc_type: marc21 + sort: 1 + suggestible: '' + - facet: '' + marc_field: '001' + marc_type: unimarc + sort: 1 + suggestible: '' + opac: 1 + staff_client: 1 + type: stdno Biographical-note: label: Biographical-note mandatory: ~