From 5abad1e2accac0b0d6100d1d81940c5c85c74c8f Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Sat, 16 Mar 2013 19:47:20 +0100 Subject: [PATCH] Bug 9828: More specific indexing of UNIMARC 6XX fields Most of 6XX may contain a $2 that identifies the system used for indexing. It should not be indexed. In French libraries, $2 contains "rameau". So searching books about the music composer "Rameau" retreive thousands of records! For some 6XX fiels, other subfields should not be indexed, for example dates of persons and familiy, or adresses. In unimarc guide, 600$t,601$t,602$t are said to exist but to be "not used". I keep them indexed. Additionnally, subject indexing could be improved by using specific indexes for each 6XX if possible : In ccl.properties : - su-to, su-geo and su-ut are defined as aliases of Subject. - a specific index are defined, but not used in record.abs : Subject-name-personal, alis su-na We can use this index and create new specific indexes by using existing bib1 attributes. We could also index $j,$x,$y,$z subdivision in specific indexes. This patch does the following changes : 1) Add comments in record.abs 2) For all 6XX : Not indexing $2 (LSCH, Rameau...), $3 and $5 3) Not indexing specific subfields 600 : Personal name used as a subject // see Marc21 600 not indexing c (additional elements),f (dates),p (address/affiliation) 602 : Family name used as a subject // see Marc21 600 3X not indexing f (dates) 616 : Trademark not indexing c,f 3) For all 6XX : index $j,$x,$y,$z in several indexes in addition to the specfific index for their 6XX field: # 6XX$j : Genre/form : indexed in Subject, Subject-subdivision, Subject-genre-form # 6XX$x : Subject : indexed in Subject, Subject-subdivision # (could be topical subject or genre/form subject, so don't index in Subject-topical) # 6XX$y : Geographical subject : indexed in Subject, Subject-subdivision, Subject-name-geographical # 6XX$z : Chronological subject : indexed in Subject, Subject-subdivision, Subject-chronological 4) Define in ccl.properties some specific indexes : Subject-name-conference 1=1073 => alias su-conf Subject-name-corporate 1=1074 => alias su-corp Subject-genre-form 1=1075 => alias su-genre and su-form Subject-geographical 1=1076 => alias su-geo Subject-chronological 1=1077 => alias su-chrono Subject-title 1=1078 => alias su-ut and su-ti Subject-topical 1=1079 => alias su-to 5) Adding new aliases in Search.pm : su-chrono, su-form, su-genre, su-corp, su-conf, su-ti 6) Using these new indexes in record.abs for 600 : all field in Subject and Subject-Personal-Name all subfields except subdivisions in Personal-name 601 : all field in Subject, Subject-name-conference and Subject-name-corporate and Subject-name-conf all subfields except subdivisions in Corporate-name and Conference-name 602 : same as 600 but could be improved later 604 : all field in Subject and Subject-title ; $a in Subject-Personal-Name all subfields except subdivisions in Name-and-Title 605 : all field in Subject and Subject-title 606 : all field in Subject and Subject-topical 607 : all field in Subject and Subject-geographical all subfields except subdivisions in Name-geographic 608 : all field in Subject and Subject-genre-form To test : A. In a GRS 1 environment 1) Apply the patch 2) Rebuild zebra 3) Create a record A with - the string "bz9828" in 600$c 600$f 600$p, 602$f, 616$c, 616$f - the string "subform" in 602$j 4) Create a record B with the string "subgeo" in 606$y 5) Create a record C with the string "subdate" in 606$z 6) try to search "su:bz9828". You should have no results 7) try to search "su-geo:subgeo". You should have 1 result : record A 8) try to search "su-genre:subform". You should have 1 result : record B 9) try to search "su-chrono:subdate". You should have 1 result : record C 10) on existing records, try su-ut, su-to, su-na, su-form, su-corp, su-geo indexes, and see it results are relevant B. In a DOM environment same operations --- C4/Search.pm | 6 + etc/zebradb/biblios/etc/bib1.att | 4 +- etc/zebradb/ccl.properties | 44 +- .../unimarc/biblios/biblio-koha-indexdefs.xml | 1021 ++++++++++++++++-- .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 1134 +++++++++++++++----- etc/zebradb/marc_defs/unimarc/biblios/record.abs | 245 ++++- 6 files changed, 2102 insertions(+), 352 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index ce6129d..b347303 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1012,9 +1012,15 @@ sub getIndexes{ 'Subject-subdivision', 'Summary', 'Suppress', + 'su-chrono', + 'su-corp', + 'su-conf', 'su-geo', + 'su-form', + 'su-genre', 'su-na', 'su-to', + 'su-ti', 'su-ut', 'ut', 'UPC', diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att index b2c38c4..e3d0ff9 100644 --- a/etc/zebradb/biblios/etc/bib1.att +++ b/etc/zebradb/biblios/etc/bib1.att @@ -142,8 +142,8 @@ att 1071 Section-heading att 1072 Subject-GOO att 1073 Subject-name-conference att 1074 Subject-name-corporate -att 1075 Subject-genre/form -att 1076 Subject-name-gerographical +att 1075 Subject-genre-form +att 1076 Subject-name-geographical att 1077 Subject-chronological att 1078 Subject-title att 1079 Subject-topical diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index a5de010..d95eaa6 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -598,9 +598,7 @@ rcn Record-control-number # 655, 656, 657, 69X Subject 1=21 su Subject -su-to Subject -su-geo Subject -su-ut Subject + #Subject-BDI 23 Subject headings from # Bibliotek Dokumentasjon # Informasjon -- a controlled @@ -649,7 +647,7 @@ su-ut Subject # appears in a subject heading. Subject-name-personal 1=1009 su-na 1=1009 -#Subject-name-personal + #Subject-PA 26 Subject headings from 600i2, 610i2, # Thesaurus of Psychological 611i2, 630i2, # Index Terms -- maintained 650i2, 651i2 @@ -695,11 +693,43 @@ su-na 1=1009 #Subject-subdivision 47 An extension to a subject 6XX$x, 6XX$y, # heading indicating the form, 6XX$z -# place, period of time treated, +# place, period of time treated, UNIMARC 6XX$j # or aspect of the subject # treated. Subject-subdivision 1=47 +#Subject-name-conference 1073 MARC21 611 ; UNIMARC 601 +Subject-name-conference 1=1073 +su-conf Subject-name-conference + +#Subject-name-corporate 1074 MARC21 610 ; UNIMARC 601 +Subject-name-corporate 1=1074 +su-corp Subject-name-corporate + +#Subject-genre-form 1075 MARC21 610 ; UNIMARC 608 +# UNIMARC 6XX$j +Subject-genre-form 1=1075 +su-genre Subject-genre-form +su-form Subject-genre-form + +#Subject-geographical 1076 MARC21 651 ; UNIMARC 607 +# MARC21 AND UNIMARC 6XX$y +Subject-geographical 1=1076 +su-geo Subject-geographical + +#Subject-chronological 1077 MARC21 and UNIMARC 6XX$z +Subject-chronological 1=1077 +su-chrono Subject-chronological + +#Subject-title 1078 MARC21 630 ; UNIMARC 605 +Subject-title 1=1078 +su-ut Subject-title +su-ti Subject-title + +#Subject-topical 1079 MARC21 650 ; UNIMARC 606 +Subject-topical 1=1079 +su-to Subject-topical + #Title 4 A word, phrase, character, 130, 21X-24X, 440, # or group of characters, 490, 730, 740, 830, # normally appearing in an item, 840, subfield $t @@ -1139,10 +1169,8 @@ name 1=1002 #uniformTitle 1=6 isbn 1=7 issn 1=8 -#geographicName 1=58 notes 1=63 -#topicalSubject 1=1079 -#genreForm 1=1075 + ################################################### # Rules for a few GILS fields 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 ceaba51..92b7ad3 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml @@ -1223,246 +1223,1107 @@ 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-name-personal:w + Subject-name-personal:p Subject:w Subject:p - - + + + Personal-name:w + Personal-name:p + Subject-name-personal:w + Subject-name-personal:p Subject:w Subject:p - - + + + + Personal-name:w + Personal-name:p + Subject-name-personal:w + Subject-name-personal:p + Subject:w + Subject:p + + + + Personal-name:w + Personal-name:p + Subject-name-personal:w + Subject-name-personal:p + Subject:w + Subject:p + + + + Personal-name:w + Personal-name:p + Subject-name-personal:w + Subject-name-personal:p + Subject:w + Subject:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + Subject-name-personal:w + Subject-name-personal:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-personal:w + Subject-name-personal:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject-name-personal:w + Subject-name-personal:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-name-personal:w + Subject-name-personal:p + + Corporate-name:w + Corporate-name:p Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p + + + + Corporate-name:w Corporate-name:p + Conference-name:w Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p - - + + + Corporate-name:w + Corporate-name:p + Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p Subject:w Subject:p - - + + + + Corporate-name:w + Corporate-name:p + Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p + + + + Corporate-name:w + Corporate-name:p + Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p + + + + Corporate-name:w + Corporate-name:p + Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p + + + + Corporate-name:w + Corporate-name:p + Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p + + + + Corporate-name:w + Corporate-name:p + Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p + + + + Corporate-name:w + Corporate-name:p + Conference-name:w + Conference-name:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + Subject:w + Subject:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-name-conference:w + Subject-name-conference:p + Subject-name-corporate:w + Subject-name-corporate:p + + Personal-name:w Personal-name:p + Subject-name-personal:w + Subject-name-personal:p + Subject:w + Subject:p - - + + + Personal-name:w + Personal-name:p + Subject-name-personal:w + Subject-name-personal:p Subject:w Subject:p - - - + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + Subject-name-personal:w + Subject-name-personal:p + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-name-personal:w + Subject-name-personal:p + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject-name-personal:w + Subject-name-personal:p + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-name-personal:w + Subject-name-personal:p + + + + Name-and-title:w + Name-and-title:p + Subject-title:w + Subject-title:p + Personal-name:w + Personal-name:p + Subject-name-personal:w + Subject-name-personal:p Subject:w Subject:p - - - + + + + Name-and-title:w + Name-and-title:p + Subject-title:w + Subject-title:p + Subject-name-personal:w + Subject-name-personal:p Subject:w Subject:p - - - + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + Subject-title:w + Subject-title:p + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-title:w + Subject-title:p + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject-title:w + Subject-title:p + + + Subject:w Subject:p - - - + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-title:w + Subject-title:p + + + + Subject-title:w + Subject-title:p Subject:w Subject:p - - + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject-title:w + Subject-title:p + Subject:w + Subject:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + Subject-title:w + Subject-title:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-title:w + Subject-title:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject-title:w + Subject-title:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-title:w + Subject-title:p + + + + Subject-topical:w + Subject-topical:p + Subject:w + Subject:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + Subject-topical:w + Subject-topical:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-topical:w + Subject-topical:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject-topical:w + Subject-topical:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-topical:w + Subject-topical:p + + + + Name-geographic:w + Name-geographic:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject:w + Subject:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + Subject-name-geographical:w + Subject-name-geographical:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-name-geographical:w + Subject-name-geographical:p + + + + Subject-genre-form:w + Subject-genre-form:p + Subject:w + Subject:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + Subject-genre-form:w + Subject-genre-form:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:p + Subject-genre-form:w + Subject-genre-form: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-subdivision:w + Subject-subdivision:p + Subject-genre-form:w + Subject-genre-form:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-name-geographical:w + Subject-name-geographical:p + + + + Subject:w + Subject:p + Subject-subdivision:w + Subject-subdivision:p + Subject-chronological:w + Subject-chronological:w + + + + 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: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: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 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 f1e82e3..d697284 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl @@ -39,6 +39,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + @@ -1803,7 +1804,63 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1811,136 +1868,899 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - + + - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + + + + + + + + - + @@ -2012,6 +2832,24 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + @@ -2529,188 +3367,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2880,7 +3536,7 @@ 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 44a5bbe..ace4879 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs +++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs @@ -432,29 +432,228 @@ 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 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 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 +# Summary for 600-608 indexing : +# 600 : all field in Subject and Subject-Personal-Name +# all subfields except subdivisions in Personal-name +# 601 : all field in Subject, Subject-name-conference and Subject-name-corporate and Subject-name-conference +# all subfields except subdivisions in Corporate-name and Conference-name +# 602 : same as 600 but could be improved later +# 604 : all field in Subject and Subject-title ; $a in Subject-Personal-Name +# all subfields except subdivisions in Name-and-Title +# 605 : all field in Subject and Subject-title +# 606 : all field in Subject and Subject-topical +# 607 : all field in Subject and Subject-geographical +# all subfields except subdivisions in Name-geographic +# 608 : all field in Subject and Subject-genre-form +# Subdivisions management: +# 4 subfields indexed in Subject, Subject-subdivision and 3 specfic indexes +# 6XX$j : Genre/form : indexed in Subject, Subject-subdivision, Subject-genre-form +# 6XX$x : Subject : indexed in Subject, Subject-subdivision +# (could be topical subject or genre/form subject) +# 6XX$y : Geographical subject : indexed in Subject, Subject-subdivision, Subject-name-geographical +# 6XX$z : Chronological subject : indexed in Subject, Subject-subdivision, Subject-chronological + + +# 600 : Personal name used as a subject // see Marc21 600 +# indexing a,b,d,g,t (said to be not used) +# not indexing c (additional elements),f (dates),p (address/affiliation),2,3,5 +# indexing specificly $j,$x,$y,$z +melm 600$a Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 600$b Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 600$d Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 600$g Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 600$t Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 600$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-personal:w,Subject-name-personal:p +melm 600$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-personal:w,Subject-name-personal:p +melm 600$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-name-personal:w,Subject-name-personal:p +melm 600$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-personal:w,Subject-name-personal:p + +# 601 : Corporate or meeting name used as a subject // see Marc21 610 & 611 +# indicators 0X = Corporate ; 1X = Meeting +# indexing a,b,c,d,e,f,g,h,t (said to be not used) +# not indexing 2,3,5 +# indexing specificly $j,$x,$y,$z +# d,e,f only used for Meetings +# FIXME : index separately corporate and meeting in DOM indexing? +melm 601$a Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$b Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$c Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$d Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$e Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$f Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$g Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$h Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$t Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p +melm 601$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p +melm 601$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p +melm 601$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p +melm 601$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p + +# 602 : Family name used as a subject // see Marc21 600 3X +# indexing a,t (said to be not used) +# not indexing f (dates), 2,3,5 +# indexing specificly $j,$x,$y,$z +# FIXME Create specific index? For the moment, index in Personal-name +melm 602$a Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 602$t Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 602$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-personal:w,Subject-name-personal:p +melm 602$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-personal:w,Subject-name-personal:p +melm 602$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-name-personal:w,Subject-name-personal:p +melm 602$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-personal:w,Subject-name-personal:p + +# 604 : Name and title // see Marc21 600 +# indexing a,t +# not indexing 2,3,5 +# indexing specificly $j,$x,$y,$z +melm 604$a Name-and-title,Name-and-title:p,Subject-title:w,Subject-title:p,Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 604$t Name-and-title,Name-and-title:p,Subject-title:w,Subject-title:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p +melm 604$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-title:w,Subject-title:p +melm 604$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-title:w,Subject-title:p +melm 604$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-title:w,Subject-title:p +melm 604$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-title:w,Subject-title:p + +# 605 : Title used as subject // see Marc21 630 +# indexing all : a,h,i,k,l,m,n,q,r,s,u,w +# indexing specificly $j,$x,$y,$z +melm 605$a Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$h Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$i Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$k Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$l Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$m Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$n Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$q Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$r Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$s Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$u Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$w Subject-title:w,Subject-title:p,Subject,Subject:p +melm 605$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-title:w,Subject-title:p +melm 605$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-title:w,Subject-title:p +melm 605$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-title:w,Subject-title:p +melm 605$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-title:w,Subject-title:p + +# 606 : Topical name used as subject // see Marc21 650 +# indexing a +# indexing specificly $j,$x,$y,$z +melm 606$a Subject-topical:w,Subject-topical:p,Subject,Subject:p +melm 606$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-topical:w,Subject-topical:p +melm 606$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-topical:w,Subject-topical:p +melm 606$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-topical:w,Subject-topical:p +melm 606$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-topical:w,Subject-topical:p + +# 607 : Geographical name used as subject // see Marc21 651 +# indexing a +# indexing specificly $j,$x,$y,$z +melm 607$a Name-geographic:w,Name-geographic:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject,Subject:p +melm 607$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-geographical:w,Subject-name-geographical:p +melm 607$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p +melm 607$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p +melm 607$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-geographical:w,Subject-name-geographical:p + +# 608 : Form, Genre or Physical Characteristics Heading +# indexing a +# indexing specificly $j,$x,$y,$z +melm 608$a Subject-genre-form:w,Subject-genre-form:p,Subject,Subject:p +melm 608$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p +melm 608$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p +melm 608$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-genre-form:w,Subject-genre-form:p +melm 608$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-genre-form:w,Subject-genre-form:p + +# 610 : Uncontroled subject terms // see Marc21 653 +# FIXME maybe to index in att 1080 Subject-uncontrolled ? +melm 610$a Subject,Subject:p + +# 615 : Subject category +# indexing a,x,n,m +# not indexing 2,3 +# FIXME Create specific index? +melm 615$a Subject,Subject:p +melm 615$x Subject,Subject:p +melm 615$n Subject,Subject:p +melm 615$m Subject,Subject:p + +# 616 : Trademark +# indexing a +# not indexing c,f,2,3,5 +# indexing specificly $j,$x,$y,$z +# FIXME Create specific index? +melm 616$a Subject,Subject:p +melm 616$j Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p +melm 616$x Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p +melm 616$y Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p +melm 616$z Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological + +# 617 : hierarchical geographical name // see Marc21 752 +# indexing a,b,c,d,e,f,g,h,i,k,l,m,n,o +# not indexing 2,3 +# FIXME Create specific index? +melm 617$a Subject,Subject:p +melm 617$b Subject,Subject:p +melm 617$c Subject,Subject:p +melm 617$d Subject,Subject:p +melm 617$e Subject,Subject:p +melm 617$f Subject,Subject:p +melm 617$g Subject,Subject:p +melm 617$h Subject,Subject:p +melm 617$i Subject,Subject:p +melm 617$k Subject,Subject:p +melm 617$l Subject,Subject:p +melm 617$m Subject,Subject:p +melm 617$n Subject,Subject:p +melm 617$o Subject,Subject:p + +# 620 : Place and date of publication/performance // see Marc21 752 +# indexing a,b,c,d,e,f,g,h,i,k,l,m,n,o +# not indexing 2,3 +# note : f-i defined in French translation of Unimarc Manual +# FIXME Create specific index? +melm 620$a Subject,Subject:p +melm 620$b Subject,Subject:p +melm 620$c Subject,Subject:p +melm 620$d Subject,Subject:p +melm 620$e Subject,Subject:p +melm 620$f Subject,Subject:p +melm 620$g Subject,Subject:p +melm 620$h Subject,Subject:p +melm 620$i Subject,Subject:p +melm 620$k Subject,Subject:p +melm 620$l Subject,Subject:p +melm 620$m Subject,Subject:p +melm 620$n Subject,Subject:p +melm 620$o Subject,Subject:p + +# 621 : Place and date of provenance // see Marc21 752 +# indexing a,b,c,d,e,f,g,h,i,k,l,m,n,o +# not indexing 2,3 +# FIXME Create specific index? +melm 621$a Subject,Subject:p +melm 621$b Subject,Subject:p +melm 621$c Subject,Subject:p +melm 621$d Subject,Subject:p +melm 621$e Subject,Subject:p +melm 621$f Subject,Subject:p +melm 621$g Subject,Subject:p +melm 621$h Subject,Subject:p +melm 621$i Subject,Subject:p +melm 621$k Subject,Subject:p +melm 621$l Subject,Subject:p +melm 621$m Subject,Subject:p +melm 621$n Subject,Subject:p +melm 621$o Subject,Subject:p + +# 626 : Technical details access // see Marc21 753 +# Note : obsolete field +melm 621$a Subject,Subject:p +melm 621$b Subject,Subject:p +melm 621$c Subject,Subject:p + +# 660 : Geographic area code // see Marc21 043 +# Coded information on 7 bytes +melm 660$a Subject,Subject:p + +# 661 : Chronological coverage code +# Coded information on 4 bytes +melm 661$a Subject,Subject:p #FIXME Fields 603, 630, 631, 632, 633, 634, 635, 636, 646 are not defined in Unimarc, but may be used by some libraries. melm 603 Subject,Subject:p -- 1.7.9.5