From 73d71e618080a757bc846a8ceefb099f21089026 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Wed, 31 Mar 2021 16:02:33 +0200 Subject: [PATCH] Bug 20424: (Followup) Add new zebra indexes for the last IFLA updates Signed-off-by: Sonia --- C4/Search.pm | 4 + etc/zebradb/biblios/etc/bib1.att | 7 + etc/zebradb/ccl.properties | 16 ++ .../unimarc/biblios/biblio-koha-indexdefs.xml | 145 +++++++++++++++++- 4 files changed, 169 insertions(+), 3 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 85a02bf5a2..8cac19947e 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -984,6 +984,7 @@ sub getIndexes{ 'bio', 'biography', 'callnum', + 'carrier-type', 'cfn', 'Chronological-subdivision', 'cn-bib-source', @@ -1015,10 +1016,12 @@ sub getIndexes{ 'Date-of-publication', 'Date-time-last-modified', 'Dewey-classification', + 'Digital-content', 'Dissertation-information', 'diss', 'dtlm', 'EAN', + 'Electronic-resource', 'extent', 'fic', 'fiction', @@ -1033,6 +1036,7 @@ sub getIndexes{ 'Host-item', 'id-other', 'ident', + 'Identifier-persistent', 'Identifier-standard', 'Illustration-code', 'Index-term-genre', diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att index 581e7ed0cf..33b22fc928 100644 --- a/etc/zebradb/biblios/etc/bib1.att +++ b/etc/zebradb/biblios/etc/bib1.att @@ -213,6 +213,13 @@ att 1228 index-lien-desc att 1229 index-genre att 1230 index-type-doc +att 1231 Identifier-persistent +att 1232 Content-type +att 1233 Carrier-type + +att 1234 Electronic-resource +att 1235 Digital-content + # Koha Local-Use Biblio Indexes att 9001 Control-number att 9002 biblioitemnumber diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 724e7d7b82..1a03352278 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -462,6 +462,9 @@ music Identifier-publisher-for-music Identifier-standard 1=1007 4=6 ident Identifier-standard +Identifier-persistent 1=1231 +identifier-persistent Identifier-persistent + # #Identifier-stock 1028 A stock number that could be 037 # used for ordering the item. @@ -609,6 +612,19 @@ mc-genre901 index-genre index-type-doc 1=1230 mc-typedoc index-type-doc +# Content type +Content-type 1=1232 +content-type Content-type + +Carrier-type 1=1233 +carrier-type Carrier-type + +# Electronic ressource +Electronic-ressource 1=1234 +electronic-ressource Electronic-resource +Digital-content 1=1235 +digital-content Digital-content + #Note 63 A concise statement in which 5XX # such information as extended # physical description, diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml index f2a5a806bf..bcd097a6f1 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml @@ -9,6 +9,11 @@ Local-number:n + + Identifier-persistent:w + Identifier-persistent:p + Identifier-persistent:n + Identifier-standard:w @@ -85,6 +90,15 @@ Identifier-standard:w + + Identifier-standard:w + + + Identifier-standard:w + + + Identifier-persistent:w + Identifier-standard:w @@ -164,13 +178,20 @@ Modified-code:n - char-encoding:n + char-encoding:w + char-encoding:p - char-encoding:n + char-encoding:w + char-encoding:p - char-encoding:n + char-encoding:w + char-encoding:p + + + char-encoding:w + char-encoding:p script-Title:n @@ -297,6 +318,38 @@ Graphics-support:w + + + Content-type:w + Content-type:p + + + Material-Type:w + Material-Type:p + + + Carrier-type:w + Carrier-type:p + + + + Content-type:w + Content-type:p + + + Material-Type:w + Material-Type:p + + + Carrier-type:w + Carrier-type:p + + + + Carrier-type:w + Carrier-type:p + + @@ -363,6 +416,10 @@ Personal-name:p Personal-name:p + + Author:w + Author:p + @@ -429,6 +486,10 @@ Corporate-name:p Conference-name:p + + Author:w + Author:p + Koha-Auth-Number:w @@ -469,6 +530,10 @@ Author:w Author:p + + Author:w + Author:p + Koha-Auth-Number:w @@ -607,6 +672,17 @@ ISSN:w + + + + Electronic-resource:w + Electronic-resource:p + + + Digital-content:w + Digital-content:p + + @@ -785,6 +861,11 @@ Note:w Note:p + + + Note:w + Note:p + Note:w @@ -795,6 +876,11 @@ Note:w Note:p + + + Note:w + Note:p + Note:w @@ -816,6 +902,11 @@ Title-series:w Title-series:p + + + Title:w + Title:p + Title:w @@ -1158,11 +1249,25 @@ Title:w Title:p + + + Title:w + Title:p + + + + Title:w + Title:p + Title:w Title:p + + Title:w + Title:p + Title:w @@ -1243,6 +1348,17 @@ Title:w Title:p + + + Title:w + Title:p + + + + Title:w + Title:p + + @@ -1310,6 +1426,10 @@ Koha-Auth-Number:w Koha-Auth-Number:n + + Subject:w + Subject:p + Subject:w Subject:p @@ -1386,6 +1506,18 @@ Subject:w Subject:p + + Subject:w + Subject:p + + + Subject:w + Subject:p + + + Subject:w + Subject:p + @@ -1418,6 +1550,13 @@ Local-classification:w Local-classification:p + + + + uri:w + + + -- 2.30.2