Bugzilla – Attachment 23041 Details for
Bug 11202
Improve UNIMARC biblio indexing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH 3] Fix indexing of 411, 412, 511 and index new fields 506,507,576,577
0005-SUITE.patch (text/plain), 41.17 KB, created by
Mathieu Saby
on 2013-11-19 17:11:52 UTC
(
hide
)
Description:
[PATCH 3] Fix indexing of 411, 412, 511 and index new fields 506,507,576,577
Filename:
MIME Type:
Creator:
Mathieu Saby
Created:
2013-11-19 17:11:52 UTC
Size:
41.17 KB
patch
obsolete
>From 758a127ec6927f2ad2e3008be4c8466e1f63a4e3 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Tue, 19 Nov 2013 17:49:14 +0100 >Subject: [PATCH 3] Fix indexing of 411, 412, 511 and index new fields 506,507,576,577 >Content-Type: text/plain; charset="utf-8" > >* Due to a mistake, 411, 412 and 511 fields were not indexed by the main patch. >* This patch also index new fields added in UNIMARC format in 2012 to make it more FRBR compliant : 506, 507, 576, 577. >These fields are experimental in most UNIMARC countries. They are not currently used in France but will probably be in some months or years. >* This patch also reorganizes definitions of 5XX fields and adds comments, without functional changes > >To test: >- take a record with some data in 411, 412 or 511 fields >- reindex >- check the record can be retrieved by searching the data of those fields >- if you want, test 506,507,576,577 fields (as they are mostly experimental, and as index definition is trivial, this test can be skipped) > > >--- > .../unimarc/biblios/biblio-koha-indexdefs.xml | 273 ++++++++++++-------- > .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 138 ++++++++-- > etc/zebradb/marc_defs/unimarc/biblios/record.abs | 18 ++ > 3 files changed, 300 insertions(+), 129 deletions(-) > >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 d740027..e85c725 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >@@ -747,12 +747,23 @@ > </index_subfields> > --> > <!--==== 4XX BLOCK OF LINKED TITLES ====--> >- <!--All 4XX indexed as Title, except for 410 and 411--> >+ <!--All 4XX indexed as Title, except for 410 and 411 in Title-series--> >+ <!--410 to 425 : Series,supplements, etc--> > <!--410 - Series--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="410" subfields="t"> > <target_index>Title-series:w</target_index> > <target_index>Title-series:p</target_index> > </index_subfields> >+ <!--411 - Sub-Series--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="411" subfields="t"> >+ <target_index>Title-series:w</target_index> >+ <target_index>Title-series:p</target_index> >+ </index_subfields> >+ <!--412 - Source of Excerpt or offprint--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="412" subfields="t"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_subfields> > <!--413 - Excerpt or offprint--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="413" subfields="t"> > <target_index>Title:w</target_index> >@@ -763,7 +774,7 @@ > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_subfields> >- <!--421 - Parent of supplement--> >+ <!--422 - Parent of supplement--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="422" subfields="t"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> >@@ -783,6 +794,7 @@ > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_subfields> >+ <!--430 to 437 : Preceding entries ; used for serials--> > <!--430 - Continues--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="430" subfields="t"> > <target_index>Title:w</target_index> >@@ -823,6 +835,7 @@ > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_subfields> >+ <!--440 to 448 : Suceeding entries ; used for serials--> > <!--440 - Continued by--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="440" subfields="t"> > <target_index>Title:w</target_index> >@@ -868,6 +881,7 @@ > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_subfields> >+ <!--450-456 - Other editions--> > <!--451 - Other editions in the same medium--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="451" subfields="t"> > <target_index>Title:w</target_index> >@@ -898,8 +912,9 @@ > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_subfields> >+ <!--460-469 - Level--> > <!--461 - Set level--> >- <!-- FIXME Warning : field used by Koha for analytics, but also in Sudoc network--> >+ <!-- FIXME Warning : field used by Koha for analytics, but also in Sudoc network.Maybe an issue?--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="461" subfields="t"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> >@@ -920,13 +935,14 @@ > <target_index>Title:p</target_index> > </index_subfields> > <!--464 - Piece-analytic level--> >- <!-- FIXME Warning : field used by Koha for analytics, but also in Sudoc network--> >+ <!-- FIXME Warning : field used by Koha for analytics, but also in French Sudoc network. Maybe an issue?--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="464" subfields="t"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > <target_index>Host-item:w</target_index> > <target_index>Host-item:p</target_index> > </index_subfields> >+ <!-- Other linked titles--> > <!--470 - Item reviewed--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="470" subfields="t"> > <target_index>Title:w</target_index> >@@ -948,206 +964,237 @@ > <target_index>Title:p</target_index> > </index_subfields> > <!--==== 5XX BLOCK OF OTHER TITLES ====--> >- <!--record.abs line 242: melm 500$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <!--500-507 - Preferred Access Points--> >+ <!--500 - Preferred Access Point--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="500" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 243: melm 501$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="500"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> >+ <!--501 - Collective Preferred Title--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="501" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 244: melm 503$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="501"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> >+ <!--503 - Preferred Conventional Heading--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="503" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 245: melm 510$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="510" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 246: melm 512$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="512" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 247: melm 513$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="513" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 248: melm 514$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="514" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 249: melm 515$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="515" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 250: melm 516$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="516" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 251: melm 517$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="517" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 252: melm 518$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="518" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 253: melm 519$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="519" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 254: melm 520$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="520" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 255: melm 530$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="530" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 256: melm 531$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="531" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 257: melm 532$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="532" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 258: melm 540$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="540" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 259: melm 541$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="541" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs line 260: melm 545$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="545" subfields="9"> >- <target_index>Koha-Auth-Number:w</target_index> >- <target_index>Koha-Auth-Number:n</target_index> >- </index_subfields> >- <!--record.abs melm 560$9 Koha-Auth-Number,Koha-Auth-Number:n--> >- <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="560" subfields="9"> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="503"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> >+ <!--506 - Preferred Access Point - Identification of a Work (NEW 2012)--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="506" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 262: melm 500 Title,Title:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="500"> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="506"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 263: melm 501 Title,Title:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="501"> >+ <!--507 - Preferred Access Point - Identification of an Expression (Provisional 2012)--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="507" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="507"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 264: melm 503 Title,Title:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="503"> >+ <!--510-518 : Variant Titles--> >+ <!--510 - Parallel title proper--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="510" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="510"> > <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 xmlns="http://www.koha-community.org/schemas/index-defs" tag="510"> >+ <!--511 - Half title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="511" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="511"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 266: melm 512 Title,Title:p--> >+ <!--512 - Cover title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="512" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="512"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 267: melm 513 Title,Title:p--> >+ <!--513 - Added Title-page Title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="513" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="513"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 268: melm 514 Title,Title:p--> >+ <!--514 - Caption Title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="514" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="514"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 269: melm 515 Title,Title:p--> >+ <!--515 - Running Title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="515" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="515"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 270: melm 516 Title,Title:p--> >+ <!--516 - Spine Title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="516" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="516"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 271: melm 517 Title,Title:p--> >+ <!--517 - Other variant Titles--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="517" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="517"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 272: melm 518 Title,Title:p--> >+ <!--518 - Title in Standard Modern Spelling--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="518" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="518"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 273: melm 519 Title,Title:p--> >+ <!--519 Graphic variant of title (ancient books)--> >+ <!--ONLY USED IN RECORDS PROVIDED BY FRENCH NATIONAL LIBRARY. ZONE SPECIFIQUE AU FORMAT D'EXPORT DE LA BNF. DECOMMENTER AU BESOIN--> >+ <!-- >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="519" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="519"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 274: melm 520 Title,Title:p--> >+--> >+ <!--520-560 - Other related titles--> >+ <!--520 - Former Title (Continuing Resources)--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="520" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="520"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 275: melm 530 Title,Title:p--> >+ <!--530 - Key-Title --> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="530" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="530"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 276: melm 531 Title,Title:p--> >+ <!--531 - Abbreviated Title (Continuing Resources)--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="531" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="531"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 277: melm 532 Title,Title:p--> >+ <!--532 - Expanded Title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="532" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="532"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 278: melm 540 Title,Title:p--> >+ <!--540 - Additional Title Supplied by Cataloguer--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="540" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="540"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 279: melm 541 Title,Title:p--> >+ <!--541 - Translated Title Supplied by Cataloguer--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="541" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="541"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs line 280: melm 545 Title,Title:p--> >+ <!--545 - Section Title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="545" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="545"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >- <!--record.abs melm 560 Title,Title:p--> >+ <!--560 - Artificial Title--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="560" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="560"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> > </index_data_field> >+ <!--576 - Name / Preferred Access Point - Identification of a Work (NEW 2012)--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="576" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="576"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> >+ <!--577 - Name / Preferred Access Point - Identification of an Expression (Provisional 2012)--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="577" subfields="9"> >+ <target_index>Koha-Auth-Number:w</target_index> >+ <target_index>Koha-Auth-Number:n</target_index> >+ </index_subfields> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="577"> >+ <target_index>Title:w</target_index> >+ <target_index>Title:p</target_index> >+ </index_data_field> > <!--==== 6XX BLOCK OF SUBJECTS ====--> > <!--600 - Personal name--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="a"> >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >index 2a4eca5..df11a2e 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >@@ -1147,6 +1147,24 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='411']"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('t', @code)"> >+ <z:index name="Title-series:w Title-series:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='412']"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('t', @code)"> >+ <z:index name="Title:w Title:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='413']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('t', @code)"> >@@ -1514,6 +1532,24 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='506']"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('9', @code)"> >+ <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='507']"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('9', @code)"> >+ <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='510']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> >@@ -1523,7 +1559,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='512']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='511']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1532,7 +1568,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='513']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='512']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1541,7 +1577,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='514']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='513']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1550,7 +1586,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='515']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='514']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1559,7 +1595,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='516']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='515']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1568,7 +1604,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='517']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='516']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1577,7 +1613,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='518']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='517']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1586,7 +1622,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='519']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='518']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >@@ -1667,6 +1703,24 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='576']"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('9', @code)"> >+ <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='577']"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('9', @code)"> >+ <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='600']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('a', @code)"> >@@ -2043,6 +2097,32 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='506']"> >+ <z:index name="Title:w Title:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="position() > 1"> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='507']"> >+ <z:index name="Title:w Title:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="position() > 1"> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> > <xslo:template mode="index_data_field" match="marc:datafield[@tag='510']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> >@@ -2056,7 +2136,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='512']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='511']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2069,7 +2149,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='513']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='512']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2082,7 +2162,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='514']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='513']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2095,7 +2175,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='515']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='514']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2108,7 +2188,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='516']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='515']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2121,7 +2201,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='517']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='516']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2134,7 +2214,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='518']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='517']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2147,7 +2227,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='519']"> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='518']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> >@@ -2264,6 +2344,32 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='576']"> >+ <z:index name="Title:w Title:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="position() > 1"> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_data_field" match="marc:datafield[@tag='577']"> >+ <z:index name="Title:w Title:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="position() > 1"> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> > <xslo:template mode="index_data_field" match="marc:datafield[@tag='600']"> > <z:index name="Subject:w Subject:p"> > <xslo:variable name="raw_heading"> >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >index 06112c6..a0894e3 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs >+++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >@@ -334,8 +334,10 @@ melm 345$a Note,Note:p > > ############## 4XX - LINKING ################## > # All 4XX indexed as Title, except for 410 >+# 410 -411 : Series ; used in monographs > melm 410$t Title-series,Title-series:p > melm 411$t Title-series,Title-series:p >+# 412 - 425 : Series, supplement ; used for serials > melm 412$t Title,Title:p > melm 413$t Title,Title:p > melm 421$t Title,Title:p >@@ -343,6 +345,7 @@ melm 422$t Title,Title:p > melm 423$t Title,Title:p > melm 424$t Title,Title:p > melm 425$t Title,Title:p >+# 43X - Preceding entries ; used for serials > melm 430$t Title,Title:p > melm 431$t Title,Title:p > melm 432$t Title,Title:p >@@ -351,6 +354,7 @@ melm 434$t Title,Title:p > melm 435$t Title,Title:p > melm 436$t Title,Title:p > melm 437$t Title,Title:p >+# 43X - Suceeding entries ; used for serials > melm 440$t Title,Title:p > melm 441$t Title,Title:p > melm 442$t Title,Title:p >@@ -360,18 +364,21 @@ melm 445$t Title,Title:p > melm 446$t Title,Title:p > melm 447$t Title,Title:p > melm 448$t Title,Title:p >+# 450 Other editions ; used for monographs > melm 451$t Title,Title:p > melm 452$t Title,Title:p > melm 453$t Title,Title:p > melm 454$t Title,Title:p > melm 455$t Title,Title:p > melm 456$t Title,Title:p >+# 46X - Set level > # FIXME Warning : field used by Koha for analytics, but also in Sudoc network > melm 461$t Title,Title:p,Host-item:w,Host-item:p > melm 462$t Title,Title:p > melm 463$t Title,Title:p > # FIXME Warning : field used by Koha for analytics, but also in Sudoc network > melm 464$t Title,Title:p,Host-item:w,Host-item:p >+# 470-488 - Other linked titles > melm 470$t Title,Title:p > melm 481$t Title,Title:p > melm 482$t Title,Title:p >@@ -385,7 +392,10 @@ melm 461$9 Host-Item-Number > melm 500$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 501$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 503$9 Koha-Auth-Number,Koha-Auth-Number:n >+melm 506$9 Koha-Auth-Number,Koha-Auth-Number:n >+melm 507$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 510$9 Koha-Auth-Number,Koha-Auth-Number:n >+melm 511$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 512$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 513$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 514$9 Koha-Auth-Number,Koha-Auth-Number:n >@@ -402,11 +412,16 @@ melm 540$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 541$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 545$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 560$9 Koha-Auth-Number,Koha-Auth-Number:n >+melm 576$9 Koha-Auth-Number,Koha-Auth-Number:n >+melm 577$9 Koha-Auth-Number,Koha-Auth-Number:n > > melm 500 Title,Title:p > melm 501 Title,Title:p > melm 503 Title,Title:p >+melm 506 Title,Title:p >+melm 507 Title,Title:p > melm 510 Title,Title:p >+melm 511 Title,Title:p > melm 512 Title,Title:p > melm 513 Title,Title:p > melm 514 Title,Title:p >@@ -423,6 +438,9 @@ melm 540 Title,Title:p > melm 541 Title,Title:p > melm 545 Title,Title:p > melm 560 Title,Title:p >+melm 576 Title,Title:p >+melm 567 Title,Title:p >+ > > ########### SUBJECTS (6xx) ################## > melm 600$9 Koha-Auth-Number,Koha-Auth-Number:n >-- >1.7.9.5 >
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 11202
:
22733
|
22737
|
22750
|
22973
|
23041
|
23108
|
23238
|
23348
|
23579
|
23830
|
24751
|
25005