From 1832655307f0c119a299a430a4cd216f0a29cac9 Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Wed, 7 Nov 2012 18:10:36 +0100 Subject: [PATCH] Bug 8984: make Zebra more UNIMARC compliant This patch makes the following changes to record.abs, biblio-koha-indexdefs.xml and biblio-zebra-indexdefs.xsl : - adding new (sub)fields to Identifier-standard index : 011f/g ; 012a ; 013a/z ; 014a/z ; 015a/z ; 016a/z ; 017a/z, 040a/z, 071z, 072z, 073z - adding 1 new subfield to Publisher index : 071b (may contain the name of a music publisher) - adding new (sub)fields to Author and Identifier-standard index (for the $9) : 716, 72X, 730 - adding new (sub)fields to Note : 334$a (award note) - correcting 207 and 208 - suppressing 308a and 328a in Note (useless as complete fields are indexed in same index) - adding (sub)fields to Title index : 411t, 421-425t, 433-437t, 442-444t, 446-456t, 462-463t, 470-488t, 560 - adding (sub)fields to Subject and Identifier-standard index (for the $9) : 608, 615, 616, 617, 620, 621 - adding some classifications index : 670, 675, 686 - adding some comments (to make easier further modifications and to identify non unimarc fields : 414-420, 603, 630-636) To test : - take a record and fill some of the missing fields (e.g 488t, 608, 720, 012a) with some data as "field488", "field608" etc - try to find the record => not possible - apply the patch, copy the new record.abs in etc/zebradb/biblios/etc and rebuild zebra - try to find the record => should be ok - check nothing else is broken... --- .../unimarc/biblios/biblio-koha-indexdefs.xml | 945 +++++++++++++------- .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 875 +++++++++++++++--- etc/zebradb/marc_defs/unimarc/biblios/record.abs | 296 ++++-- 3 files changed, 1603 insertions(+), 513 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 6870469..74b6699 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml @@ -1,25 +1,25 @@ - + Local-number:w Local-number:n - + Identifier-standard:w Identifier-standard:n - + Local-number:w Local-number:n - + date-entered-on-file:s date-entered-on-file:n @@ -28,70 +28,150 @@ Date-of-acquisition:d Date-of-acquisition:s - + Date/time-last-modified:s Date/time-last-modified:n Date/time-last-modified:y - + ccode:w - + ISBN:w - + ISBN:w Identifier-standard:w - + ISSN:w Identifier-standard:w - + ISSN:w Identifier-standard:w - + ISSN:w Identifier-standard:w - - - itemtype:w - itemtype:p - itype:w - itype:p + + + Identifier-standard:w - - - itemtype:w - itemtype:p - itype:w - itype:p + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w - + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + Music-number:w Identifier-standard:w - + + + Music-number:w + Identifier-standard:w + + + + Publisher:w + Publisher:p + + UPC:w Identifier-standard:w - + + + UPC:w + Identifier-standard:w + + EAN:w Identifier-standard:w - + + + EAN:w + Identifier-standard:w + + + + itemtype:w + itemtype:p + itype:w + itype:p + + + + itemtype:w + itemtype:p + itype:w + itype:p + + tpubdate:s ta:w @@ -104,15 +184,15 @@ char-encoding:n script-Title:n - + ln:w - + Country-heading:w - + Illustration-code:w Content-type:w @@ -125,12 +205,12 @@ Literature-Code:w Biography-Code:w - + itype:w itype:p - + Type-Of-Serial:w Frequency-code:w @@ -142,45 +222,32 @@ Index-availability-Code:w Cumulative-Index-availability-Code:w - + Video-mt:w - + Graphics-type:w Graphics-support:w Graphics-support:w - - - LC-call-number:s - - - - LC-call-number:w - - - - itype:w - itype:p - - + Author:w Author:p - + Author:w Author:p - + Koha-Auth-Number:w Koha-Auth-Number:n - + Author:w Personal-name:w @@ -189,7 +256,7 @@ Personal-name:w Author:s - + Author:w Personal-name:w @@ -197,12 +264,12 @@ Personal-name:p Personal-name:p - + Koha-Auth-Number:w Koha-Auth-Number:n - + Author:w Personal-name:w @@ -210,12 +277,12 @@ Personal-name:p Personal-name:p - + Koha-Auth-Number:w Koha-Auth-Number:n - + Author:w Personal-name:w @@ -223,12 +290,12 @@ Personal-name:p Personal-name:p - + Koha-Auth-Number:w Koha-Auth-Number:n - + Author:w Author-name-corporate:w @@ -241,12 +308,12 @@ Corporate-name:p Conference-name:p - + Koha-Auth-Number:w Koha-Auth-Number:n - + Author:w Author-name-corporate:w @@ -259,12 +326,12 @@ Corporate-name:p Conference-name:p - + Koha-Auth-Number:w Koha-Auth-Number:n - + Author:w Author-name-corporate:w @@ -277,7 +344,57 @@ Corporate-name:p Conference-name:p - + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Author:w + Author:p + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Author:w + Author:p + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Author:w + Author:p + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Author:w + Author:p + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Author:w + Author:p + + Title:w Title:p @@ -286,936 +403,1142 @@ Title-cover:p Title-cover:s - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p Title-cover:w Title-cover:p - + - title:w - title:p + Title:w + Title:p Title-cover:w Title-cover:p - + Title:w Title:p - - + + Serials:w Serials:p - - + + Printed-music:w Printed-music:p - + + + Electronic-ressource:w + + pl:w pl:p - + Publisher:w Publisher:p - + pubdate:n pubdate:y pubdate:s - + Extent:w - + Title-series:w Title-series:p - + Title-series:w Title-series:p - + Title-series:w Title-series:p - + Author:w Author:p Name-and-title:w Name-and-title:p - + Title-series:w Title-series:p - + Title-series:w Title-series:p - + Title-series:w Title-series:p - + ISSN:w - - - Electronic-ressource:w - - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - - - Note:w - Note:p - - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - - - Note:w - Note:p - - + Abstract:w Note:w Abstract:p Note:p - + Note:w Note:p - + Note:w Note:p - + + + Note:w + Note:p + + Note:w Note:p - + Note:w Note:p - + Note:w Note:p - - + + + Title-series:w + Title-series:p + + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - Title-Uniform:w - Title-Uniform:p - - - Title-series:w - Title-series:p + + + Title:w + Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - - + + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + Title:w Title:p - + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + Title:w Title-host:w title-host:p - + + + Title:w + Title:p + + + + Title:w + Title:p + + Title:w Title-host:w title-host:p Title:p - + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Host-Item-Number:w + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + Title-Uniform:w + Title-Uniform:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + + + Title:w + Title:p + + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - + pubdate:n - - - Host-Item-Number:w - - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + Title:w Title:p - + + + Title:w + Title:p + + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - - - Koha-Auth-Number:w - Koha-Auth-Number:n - - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + Koha-Auth-Number:w Koha-Auth-Number:n - + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + + + Koha-Auth-Number:w + Koha-Auth-Number:n + + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Koha-Auth-Number:w Koha-Auth-Number:n - + Personal-name:w Personal-name:p Subject:w Subject:p - + Subject:w Subject:p - + Corporate-name:w Conference-name:w Corporate-name:p Conference-name:p - + Subject:w Subject:p - + Personal-name:w Personal-name:p - + Subject:w Subject:p - + Subject:w Subject:p - + Subject:w Subject:p - + Subject:w Subject:p - + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - - + + Subject:w Subject:p - + + + Subject-precis:w + Subject-precis:p + + + + UDC-classification:w + UDC-classification:p + UDC-classification:s + + Dewey-classification:w + Dewey-classification:p Dewey-classification:s - + + + LC-call-number:s + + + + LC-call-number:w + LC-call-number:p + + + + Local-classification:w + Local-classification:p + + lost:w lost:n item:w - + homebranch:w Host-item:w item:w - + homebranch:w Host-item:w item:w - + holdingbranch:w Record-Source:w item:w - + holdingbranch:w Record-Source:w item:w - + location:w item:w - + barcode:w item:w - + ccode:w item:w - + LC-card-number:s item:w - + Call-Number:w Local-classification:w @@ -1226,7 +1549,7 @@ item:w Local-classification:s - + onloan:d onloan:n @@ -1234,17 +1557,17 @@ onloan:w item:w - + Note:w Note:p item:w - + item # just to index every subfield:w - + totalissues:n totalissues:s 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 feeda35..4943260 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl @@ -13,6 +13,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + @@ -35,6 +36,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + @@ -125,18 +127,185 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -185,7 +354,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -284,115 +453,122 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + - + - + - - + + - + - - + + - + - - + + - + @@ -400,15 +576,17 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + - - + + - + @@ -417,7 +595,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -426,7 +604,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -435,7 +613,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -444,7 +622,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -453,6 +631,15 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + @@ -534,15 +721,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - - - - - - - - @@ -615,15 +793,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - - - - - - - - @@ -777,25 +946,25 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + - + - + - + @@ -804,7 +973,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -840,7 +1009,32 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -856,7 +1050,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -872,10 +1066,55 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -888,10 +1127,10 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + @@ -904,7 +1143,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -920,7 +1159,52 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -936,7 +1220,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -952,7 +1236,34 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -968,7 +1279,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -976,6 +1287,94 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -984,7 +1383,34 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -992,15 +1418,17 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + - - + + - + @@ -1008,15 +1436,17 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + - - + + - + @@ -1032,7 +1462,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1048,10 +1478,10 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + @@ -1064,7 +1494,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1080,7 +1510,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1096,7 +1526,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1112,7 +1542,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1128,7 +1558,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1144,10 +1574,10 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + @@ -1159,18 +1589,18 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + - - + + - - - - + + @@ -1347,6 +1777,15 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + @@ -1395,7 +1834,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1404,7 +1843,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1413,7 +1852,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1422,7 +1861,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1431,7 +1870,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1449,6 +1888,60 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1512,10 +2005,28 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + - + + + + + + + + + + @@ -1530,8 +2041,8 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - + + @@ -1543,7 +2054,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1556,7 +2067,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1569,8 +2080,8 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - + + @@ -1582,7 +2093,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1595,7 +2106,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1608,8 +2119,60 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1634,7 +2197,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1647,7 +2210,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1946,6 +2509,19 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + @@ -2037,7 +2613,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2050,7 +2626,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2063,7 +2639,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2076,7 +2652,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2089,7 +2665,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2102,7 +2678,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2115,7 +2691,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2128,7 +2704,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2141,7 +2717,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2154,7 +2730,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2167,7 +2743,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2180,7 +2756,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2193,7 +2769,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2206,7 +2782,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2219,7 +2795,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -2232,6 +2808,45 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs index dcbc7a1..0e2f98e 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs +++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs @@ -21,6 +21,7 @@ systag sysno rank xpath disable all any +############ IDENTIFICATION NUMBERS ################## melm 001 Local-number,Local-number:n # Local-number (biblionumber can be either in 090$9 or, on some setup, on 001) melm 009 Identifier-standard:w,Identifier-standard:n @@ -29,22 +30,63 @@ melm 099$c date-entered-on-file:s,date-entered-on-file:n,date-entered-on-fi melm 099$d Date/time-last-modified:s,Date/time-last-modified:n,Date/time-last-modified:y melm 099$t ccode:w - +# ISBN melm 010$a ISBN:w # wrong ISBN melm 010$z ISBN:w,Identifier-standard:w +# ISSN melm 011$a ISSN:w,Identifier-standard:w # cancelled ISSN melm 011$y ISSN:w,Identifier-standard:w # wrong ISSN melm 011$z ISSN:w,Identifier-standard:w - -melm 200$b itemtype:w,itemtype:p,itype:w,itype:p -melm 995$r itemtype:w,itemtype:p,itype:w,itype:p +# L-ISSN +melm 011$f Identifier-standard:w +melm 011$g Identifier-standard:w +# Fingerprint (ancient books) +melm 012$a Identifier-standard:w +# ISMN +melm 013$a Identifier-standard:w +melm 013$z Identifier-standard:w +# Article indentifier +melm 014$a Identifier-standard:w +melm 014$z Identifier-standard:w +# ISRN +melm 015$a Identifier-standard:w +melm 015$z Identifier-standard:w +# ISRC +melm 016$a Identifier-standard:w +melm 016$z Identifier-standard:w +# Other identifiers (DOI...) +melm 017$a Identifier-standard:w +melm 017$z Identifier-standard:w +# National bibliography +# uncomment to index +# melm 020$a Identifier-standard:w +# melm 020$z Identifier-standard:w +# Legal deposit +# uncomment to index +# melm 021$a Identifier-standard:w +# melm 021$z Identifier-standard:w +# CODEN +melm 040$a Identifier-standard:w +melm 040$z Identifier-standard:w +# Publisher's number (for music) melm 071$a Music-number:w,Identifier-standard:w +melm 071$z Music-number:w,Identifier-standard:w +melm 071$b Publisher,Publisher:p +# UPC melm 072$a UPC:w,Identifier-standard:w +melm 072$z UPC:w,Identifier-standard:w +# EAN melm 073$a EAN:w,Identifier-standard:w +melm 073$z EAN:w,Identifier-standard:w + +############ ITEM TYPE ################## +melm 200$b itemtype:w,itemtype:p,itype:w,itype:p +melm 995$r itemtype:w,itemtype:p,itype:w,itype:p +############ CODED INFORMATIONS ################## melm 100$a tpubdate:s:range(data,8,1),ta:w:range(data,17,1),ta:w:range(data,18,1),ta:w:range(data,19,1),Modified-code:n:range(data,21,1),ln:s:range(data,22,3),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2) melm 101$a ln melm 102$a Country-heading @@ -78,15 +120,6 @@ melm 115$a Video-mt:w:range(data,0,1) melm 116$a Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1), - -melm 680$b LC-call-number:s -melm 680 LC-call-number -#melm 001 Identifier-standard:w - -melm 200$b itype:w,itype:p - -#melm 100$9 Cross-Reference !:w - ############ AUTHORS ################## # main Author melm 200$f Author:w,Author:p @@ -110,32 +143,57 @@ melm 711 Author,Author-name-corporate,Author-name-conference,Corporate-name,C melm 712$9 Koha-Auth-Number,Koha-Auth-Number:n melm 712 Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p +# trademark Author : 716 +melm 716$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 716 Author:w,Author:p + +# family Author : 72X +melm 720$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 720 Author:w,Author:p +melm 721$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 721 Author:w,Author:p +melm 722$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 722 Author:w,Author:p + +# name-responsabily Author +melm 730$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 730 Author:w,Author:p + +# 740-742 = uniform and conventional headings for legal and religious texts. Use not recommended in France (503 used instead, see http://multimedia.bnf.fr/unimarcb_trad/B7XX-6-2011.pdf ) + ############## TITLE ################## # main Title +# Keep Title-cover (used for in query weighting algorithm) melm 200$a Title:w,Title:p,Title:s,Title-cover:w,Title-cover:p,Title-cover:s -# Title 2 +# Title from an other author melm 200$c Title:w,Title:p -# // Title +# Parallel title melm 200$d Title:w,Title:p -# subTitle +# subtitle melm 200$e Title:w,Title:p,Title-cover:w,Title-cover:p +# volume : do not index +# melm 200$h Title:w,Title:p # part title -melm 200$i title:w,title:p,Title-cover:w,Title-cover:p +melm 200$i Title:w,Title:p,Title-cover:w,Title-cover:p +# edition statement melm 205 Title,Title:p -melm 208 Serials,Serials:p -melm 207 Printed-music,Printed-music:p - - +########## MATERIAL SPECIFIC AREA ################# +# TODO 206 +melm 207 Serials,Serials:p +melm 208 Printed-music,Printed-music:p +melm 230$a Electronic-ressource +########## PUBLISHER ################# melm 210$a pl,pl:p melm 210$c Publisher,Publisher:p melm 210$d pubdate:n,pubdate:y,pubdate:s +########## DESCRIPTION ################# melm 215 Extent -#Series +########## SERIES ################# melm 225$a Title-series,Title-series:p melm 225$d Title-series,Title-series:p #SubTit @@ -150,69 +208,136 @@ melm 225$i Title-series,Title-series:p melm 225$v Title-series,Title-series:p melm 225$x ISSN -melm 230$a Electronic-ressource - ########## NOTES ################# +# General Note melm 300$a Note,Note:p +# Notes Pertaining to Identification Numbers melm 301$a Note,Note:p +# Notes Pertaining to Coded Information (languages...) melm 302$a Note,Note:p +# Notes Pertaining to Descriptive Information melm 303$a Note,Note:p +# Notes Pertaining to Title and Statement of Responsibility melm 304$a Note,Note:p +# Notes Pertaining to Edition and Bibliographic History melm 305$a Note,Note:p +# Notes Pertaining to Publication, Distribution, etc. melm 306$a Note,Note:p +# Notes Pertaining to Physical Description melm 307$a Note,Note:p +# Notes Pertaining to Series melm 308 Note,Note:p -melm 308$a Note,Note:p +# Notes Pertaining to Binding and Availability melm 310$a Note,Note:p +# Notes Pertaining to Linking Fields melm 311$a Note,Note:p +# Notes Pertaining to Related Titles melm 312$a Note,Note:p +# Notes Pertaining to Subject Access melm 313$a Note,Note:p +# Notes Pertaining to Intellectual Responsability (in Sudoc catalogue, may contains the 4th, 5th etc. authors) melm 314$a Note,Note:p +# Notes Pertaining to Material (or Type of Publication) Specific Information melm 315$a Note,Note:p +# Note Relating to the Copy in Hand (ancient books) melm 316$a Note,Note:p +# Provenance Note (ancient books) melm 317$a Note,Note:p +# Action Note melm 318$a Note,Note:p +# Internal Bibliographies/Indexes Note melm 320$a Note,Note:p +# External Indexes/Abstracts/References Note melm 321$a Note,Note:p +# Credits Note (Projected and Video Material and Sound Recordings) melm 322$a Note,Note:p +# Cast Note (Projected and Video Material and Sound Recordings) melm 323$a Note,Note:p +# Facsimile Note melm 324$a Note,Note:p +# Reproduction Note melm 325$a Note,Note:p +# Frequency Statement Note (Serials) melm 326$a Note,Note:p +# Contents Note melm 327$a Note,Note:p -melm 328 Note,Note:p -melm 328$a Note,Note:p -melm 330$a Abstract,Note:w,Abstract:p,Note:p +# Dissertation note +melm 328 Note,Note:p +# Summary or Abstract +melm 330$a Abstract:w,Note:w,Abstract:p,Note:p +# Preferred Citation of Described Materials melm 332$a Note,Note:p +# Users/Intended Audience Note melm 333$a Note,Note:p +# Awards note +melm 334$a Note,Note:p +# Type of electronic ressource note melm 336$a Note,Note:p +# System requirements note melm 337$a Note,Note:p +# Acquisition Information Note melm 345$a Note,Note:p - ############## 4XX - LINKING ################## -# Authorities Title,Title:p -melm 400$t Title,Title:p -melm 401$t Title,Title:p -melm 403$t Title,Title:p,Title-Uniform,Title-Uniform:p +# All 4XX indexed as Title, except for 410 melm 410$t Title-series,Title-series:p +melm 411$t Title,Title:p melm 412$t Title,Title:p melm 413$t Title,Title:p -melm 414$t Title,Title:p -melm 415$t Title,Title:p -melm 416$t Title,Title:p -melm 417$t Title,Title:p -melm 418$t Title,Title:p -melm 419$t Title,Title:p -melm 420$t Title,Title:p +melm 421$t Title,Title:p +melm 422$t Title,Title:p +melm 423$t Title,Title:p +melm 424$t Title,Title:p +melm 425$t Title,Title:p melm 430$t Title,Title:p melm 431$t Title,Title:p melm 432$t Title,Title:p +melm 433$t Title,Title:p +melm 434$t Title,Title:p +melm 435$t Title,Title:p +melm 436$t Title,Title:p +melm 437$t Title,Title:p melm 440$t Title,Title:p melm 441$t Title,Title:p +melm 442$t Title,Title:p +melm 443$t Title,Title:p +melm 444$t Title,Title:p melm 445$t Title,Title:p +melm 446$t Title,Title:p +melm 447$t Title,Title:p +melm 448$t Title,Title:p +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 +# FIXME Warning : field used by Koha for analytics, but also in Sudoc network melm 461$t Title,Title-host:w,title-host: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-host:w,title-host:p,Title:p +melm 470$t Title,Title:p +melm 481$t Title,Title:p +melm 482$t Title,Title:p +melm 488$t Title,Title:p + +# Linking ids (Koha analytics) +# FIXME Warning : field used by Koha for analytics, but also in Sudoc network +melm 461$9 Host-Item-Number + +#FIXME Fields 400, 401, 403, 414, 415, 416, 417, 418, 419, 420 are not defined in Unimarc, but may be used by some libraries. +melm 400$t Title,Title:p +melm 401$t Title,Title:p +melm 403$t Title,Title:p,Title-Uniform,Title-Uniform:p +melm 414$t Title,Title:p +melm 415$t Title,Title:p +melm 416$t Title,Title:p +melm 417$t Title,Title:p +melm 418$t Title,Title:p +melm 419$t Title,Title:p +melm 420$t Title,Title:p melm 400$d pubdate:n melm 401$d pubdate:n @@ -235,10 +360,7 @@ melm 441$d pubdate:n melm 445$d pubdate:n melm 461$d pubdate:n -#Linking ids -melm 461$9 Host-Item-Number - -# Authorities Title +############## 5XX - TITLES ################## 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 @@ -258,6 +380,7 @@ melm 532$9 Koha-Auth-Number,Koha-Auth-Number:n 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 500 Title,Title:p melm 501 Title,Title:p @@ -278,17 +401,29 @@ melm 532 Title,Title:p melm 540 Title,Title:p melm 541 Title,Title:p melm 545 Title,Title:p +melm 560 Title,Title:p ########### SUBJECTS (6xx) ################## melm 600$9 Koha-Auth-Number,Koha-Auth-Number:n melm 601$9 Koha-Auth-Number,Koha-Auth-Number:n melm 602$9 Koha-Auth-Number,Koha-Auth-Number:n -melm 603$9 Koha-Auth-Number,Koha-Auth-Number:n melm 604$9 Koha-Auth-Number,Koha-Auth-Number:n melm 605$9 Koha-Auth-Number,Koha-Auth-Number:n melm 606$9 Koha-Auth-Number,Koha-Auth-Number:n melm 607$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 608$9 Koha-Auth-Number,Koha-Auth-Number:n melm 610$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 615$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 616$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 617$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 620$9 Koha-Auth-Number,Koha-Auth-Number:n +melm 621$9 Koha-Auth-Number,Koha-Auth-Number:n +# melm 626$9 Koha-Auth-Number,Koha-Auth-Number:n +# melm 660$9 Koha-Auth-Number,Koha-Auth-Number:n +# melm 661$9 Koha-Auth-Number,Koha-Auth-Number:n + +#FIXME Fields 603, 630, 631, 632, 633, 634, 635, 636 are not defined in Unimarc, but may be used by some libraries. +melm 603$9 Koha-Auth-Number,Koha-Auth-Number:n melm 630$9 Koha-Auth-Number,Koha-Auth-Number:n melm 631$9 Koha-Auth-Number,Koha-Auth-Number:n melm 632$9 Koha-Auth-Number,Koha-Auth-Number:n @@ -297,35 +432,52 @@ melm 634$9 Koha-Auth-Number,Koha-Auth-Number:n melm 635$9 Koha-Auth-Number,Koha-Auth-Number:n melm 636$9 Koha-Auth-Number,Koha-Auth-Number:n -melm 600$a Personal-name,Personal-name:p,Subject,Subject:p -melm 600 Subject,Subject:p -melm 601$a Corporate-name,Conference-name,Corporate-name:p,Conference-name:p -melm 601 Subject,Subject:p +melm 600$a Personal-name,Personal-name:p,Subject,Subject:p +melm 600 Subject,Subject:p +melm 601$a Corporate-name,Conference-name,Corporate-name:p,Conference-name:p +melm 601 Subject,Subject:p melm 602$a Personal-name,Personal-name:p melm 602 Subject,Subject:p -melm 604 Subject,Subject:p -melm 605 Subject,Subject:p -melm 606 Subject,Subject:p -melm 607 Subject,Subject:p -melm 630 Subject,Subject:p -melm 631 Subject,Subject:p -melm 632 Subject,Subject:p -melm 633 Subject,Subject:p -melm 634 Subject,Subject:p -melm 635 Subject,Subject:p -melm 636 Subject,Subject:p -melm 610 Subject,Subject:p -melm 640 Subject,Subject:p -melm 641 Subject,Subject:p -melm 642 Subject,Subject:p -melm 643 Subject,Subject:p -melm 644 Subject,Subject:p -melm 645 Subject,Subject:p -melm 646 Subject,Subject:p - -###################### - -melm 676$a Dewey-classification:w,Dewey-classification:s +melm 604 Subject,Subject:p +melm 605 Subject,Subject:p +melm 606 Subject,Subject:p +melm 607 Subject,Subject:p +melm 608 Subject,Subject:p +melm 610 Subject,Subject:p +melm 615 Subject,Subject:p +melm 616 Subject,Subject:p +melm 617 Subject,Subject:p +melm 620 Subject,Subject:p +melm 621 Subject,Subject:p +# Technical details access // see Marc21 753. Seems deprecated. +# melm 626 Subject,Subject:p +# Geographic area code // see Marc21 043. Probably not useful +# melm 660 Subject,Subject:p +# Chronological coverage code. Probably not useful +# melm 661 Subject,Subject:p + +#FIXME Fields 603, 630, 631, 632, 633, 634, 635, 636 are not defined in Unimarc, but may be used by some libraries. +melm 603 Subject,Subject:p +melm 630 Subject,Subject:p +melm 631 Subject,Subject:p +melm 632 Subject,Subject:p +melm 633 Subject,Subject:p +melm 634 Subject,Subject:p +melm 635 Subject,Subject:p +melm 636 Subject,Subject:p + +########### CLASSIFICATIONS (67x/68x) ################## +# PRECIS +melm 670 Subject-precis:w,Subject-precis:p +# Universal Decimal Classification // see Marc21 080 +melm 675$a UDC-classification:w,UDC-classification:p,UDC-classification:s +# Dewey // see Marc21 082 +melm 676$a Dewey-classification:w,Dewey-classification:p,Dewey-classification:s +# LC // see Marc21 050 +melm 680$b LC-call-number:s +melm 680 LC-call-number:w,LC-call-number:p +# Other class numbers // see Marc21 084 +melm 686 Local-classification:w,Local-classification:p #############"# item information (based on 995) ############### melm 995$2 lost,lost:n,item -- 1.7.9.5