Bugzilla – Attachment 119053 Details for
Bug 20424
New UNIMARC ZEBRA indexes according to last IFLA updates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20424: (Followup) Add new zebra indexes for the last IFLA updates
Bug-20424-Followup-Add-new-zebra-indexes-for-the-l.patch (text/plain), 9.85 KB, created by
Alex Arnaud
on 2021-03-31 14:11:17 UTC
(
hide
)
Description:
Bug 20424: (Followup) Add new zebra indexes for the last IFLA updates
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2021-03-31 14:11:17 UTC
Size:
9.85 KB
patch
obsolete
>From a3fa5873243d70e154172c8a004cc6f2644f512b Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Wed, 31 Mar 2021 16:02:33 +0200 >Subject: [PATCH] Bug 20424: (Followup) Add new zebra indexes for the last IFLA > updates > >--- > etc/zebradb/biblios/etc/bib1.att | 7 ++ > etc/zebradb/ccl.properties | 16 +++ > .../unimarc/biblios/biblio-koha-indexdefs.xml | 117 +++++++++++++++++++++ > 3 files changed, 140 insertions(+) > >diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att >index d026b6c..c2165cd 100644 >--- a/etc/zebradb/biblios/etc/bib1.att >+++ b/etc/zebradb/biblios/etc/bib1.att >@@ -212,6 +212,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 002bc01..6488e12 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. >@@ -601,6 +604,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 f2a5a80..ff245ae 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,9 @@ > <index_control_field tag="001"> > <target_index>Local-number:n</target_index> > </index_control_field> >+ <index_control_field tag="003"> >+ <target_index>Identifier-persistent:w</target_index> >+ </index_control_field> > <!--record.abs line 26: melm 009 Identifier-standard:w,Identifier-standard:n--> > <index_control_field tag="009"> > <target_index>Identifier-standard:w</target_index> >@@ -85,6 +88,15 @@ > <index_subfields tag="017" subfields="az"> > <target_index>Identifier-standard:w</target_index> > </index_subfields> >+ <index_subfields tag="018" subfields="a"> >+ <target_index>Identifier-standard:w</target_index> >+ </index_subfields> >+ <index_subfields tag="029" subfields="a"> >+ <target_index>Identifier-standard:w</target_index> >+ </index_subfields> >+ <index_subfields tag="033" subfields="a"> >+ <target_index>Identifier-persistent:w</target_index> >+ </index_subfields> > <!--040 : CODEN--> > <index_subfields tag="040" subfields="az"> > <target_index>Identifier-standard:w</target_index> >@@ -297,6 +309,38 @@ > <index_subfields tag="116" subfields="a" offset="2" length="1"> > <target_index>Graphics-support:w</target_index> > </index_subfields> >+ >+ <index_subfields tag="181" subfields="c"> >+ <target_index>Content-type:w</target_index> >+ <target_index>Content-type:p</target_index> >+ </index_subfields> >+ <index_subfields tag="182" subfields="c"> >+ <target_index>Material-Type:w</target_index> >+ <target_index>Material-Type:p</target_index> >+ </index_subfields> >+ <index_subfields tag="183" subfields="a"> >+ <target_index>Carrier-type:w</target_index> >+ <target_index>Carrier-type:p</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="203" subfields="a"> >+ <target_index>Content-type:w</target_index> >+ <target_index>Content-type:p</target_index> >+ </index_subfields> >+ <index_subfields tag="203" subfields="b"> >+ <target_index>Material-Type:w</target_index> >+ <target_index>Material-Type:p</target_index> >+ </index_subfields> >+ <index_subfields tag="203" subfields="c"> >+ <target_index>Carrier-type:w</target_index> >+ <target_index>Carrier-type:p</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="283" subfields="a"> >+ <target_index>Carrier-type:w</target_index> >+ <target_index>Carrier-type:p</target_index> >+ </index_subfields> >+ > <!--==== AUTHOR ====--> > <!--200$fg--> > <index_subfields tag="200" subfields="fg"> >@@ -363,6 +407,10 @@ > <target_index>Personal-name:p</target_index> > <target_index>Personal-name:p</target_index> > </index_data_field> >+ <index_data_field tag="703"> >+ <target_index>Author:w</target_index> >+ <target_index>Author:p</target_index> >+ </index_data_field> > <!--record.abs line 105: melm 710$9 Koha-Auth-Number,Koha-Auth-Number:n--> > > <index_subfields tag="710" subfields="3"> >@@ -429,6 +477,10 @@ > <target_index>Corporate-name:p</target_index> > <target_index>Conference-name:p</target_index> > </index_data_field> >+ <index_data_field tag="713"> >+ <target_index>Author:w</target_index> >+ <target_index>Author:p</target_index> >+ </index_data_field> > <!--record.abs line 147: melm 716$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields tag="716" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> >@@ -469,6 +521,10 @@ > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> > </index_data_field> >+ <index_data_field tag="723"> >+ <target_index>Author:w</target_index> >+ <target_index>Author:p</target_index> >+ </index_data_field> > <!--record.abs line 159: melm 730$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields tag="730" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> >@@ -607,6 +663,17 @@ > <index_subfields tag="225" subfields="x"> > <target_index>ISSN:w</target_index> > </index_subfields> >+ >+ <!--==== Electronic resource ====--> >+ <index_subfields tag="231" subfields="a"> >+ <target_index>Electronic-resource:w</target_index> >+ <target_index>Electronic-resource:p</target_index> >+ </index_subfields> >+ <index_subfields tag="231" subfields="b"> >+ <target_index>Digital-content:w</target_index> >+ <target_index>Digital-content:p</target_index> >+ </index_subfields> >+ > <!--==== BLOCK OF NOTES ====--> > <!--300 - General note--> > <index_subfields tag="300" subfields="a"> >@@ -785,6 +852,11 @@ > <target_index>Note:w</target_index> > <target_index>Note:p</target_index> > </index_subfields> >+ <!-- Location of originals / reproductions --> >+ <index_subfields tag="335" subfields="a"> >+ <target_index>Note:w</target_index> >+ <target_index>Note:p</target_index> >+ </index_subfields> > <!--336 - Type of electronic ressource note--> > <index_subfields tag="336" subfields="a"> > <target_index>Note:w</target_index> >@@ -795,6 +867,11 @@ > <target_index>Note:w</target_index> > <target_index>Note:p</target_index> > </index_subfields> >+ <!-- Funding information note --> >+ <index_subfields tag="338" subfields="a"> >+ <target_index>Note:w</target_index> >+ <target_index>Note:p</target_index> >+ </index_subfields> > <!--345 - Acquisition Information Note--> > <index_subfields tag="345" subfields="a"> > <target_index>Note:w</target_index> >@@ -1158,6 +1235,16 @@ > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >+ <!-- Identification of a work --> >+ <index_data_field tag="506" subfields="a"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> >+ <!-- Identification of an expression --> >+ <index_data_field tag="507" subfields="a"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> > <!--record.abs line 265: melm 510 Title,Title:p--> > <index_data_field tag="510"> > <target_index>Title:w</target_index> >@@ -1243,6 +1330,17 @@ > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >+ <!-- Identification of a work --> >+ <index_data_field tag="576" subfields="a"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> >+ <!-- Identification of an expression --> >+ <index_data_field tag="577" subfields="a"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> >+ > <!--==== 6XX BLOCK OF SUBJECTS ====--> > <!--600 - Personal name--> > <index_subfields tag="600" subfields="a"> >@@ -1386,6 +1484,18 @@ > <target_index>Subject:w</target_index> > <target_index>Subject:p</target_index> > </index_data_field> >+ <index_data_field tag="623"> >+ <target_index>Subject:w</target_index> >+ <target_index>Subject:p</target_index> >+ </index_data_field> >+ <index_data_field tag="631"> >+ <target_index>Subject:w</target_index> >+ <target_index>Subject:p</target_index> >+ </index_data_field> >+ <index_data_field tag="632"> >+ <target_index>Subject:w</target_index> >+ <target_index>Subject:p</target_index> >+ </index_data_field> > <!--==== 67X/68X BLOCK OF CLASSIFICATIONS ====--> > <!--record.abs line 471: melm 670 Subject-precis:w,Subject-precis:p--> > <index_data_field tag="670"> >@@ -1418,6 +1528,13 @@ > <target_index>Local-classification:w</target_index> > <target_index>Local-classification:p</target_index> > </index_data_field> >+ >+ <!-- URI --> >+ <index_subfields tag="856" subfields="u"> >+ <target_index>uri:w</target_index> >+ </index_subfields> >+ >+ > <!--==== 995 ITEMS ====--> > > <!-- 995$B new items--> >-- >2.7.4
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 20424
:
93732
|
93733
|
93736
|
119034
|
119053
|
119054
|
119080
|
119081
|
132663
|
132816
|
132817
|
132818
|
132827
|
132828
|
132829
|
148831
|
148832
|
148833
|
148834