From aabea3417bd8ea398f4497f8b3aa86e9e7004dfc Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Thu, 3 Jan 2008 01:27:32 -0500 Subject: [PATCH] WARNING: Updates to Index Defs for Authorities This commit is a partial fix to authority control for MARC21, and better authority handling in general (for UNIMARC too). Before this patch, authority searching, editing, saving, was not functioning, or was extremely buggy. WARNING: You will need to re-index your authority database after applying this commit. The following changes have been made: * Normalizing record.abs index names (in both MARC21 and UNIMARC) * Synching authorities/bib1.att, ccl.properties, AuthoritiesMarc.pm with new indexes (UNIMARC too) * Clean up biblios/bib1.att (remove duplicate att defs) * Clean up authorities-* templates to conform to new styles * Fixed search failure when using Default framework (now searches All) Also included are several fixes to the built-in SRU server for Authority and Biblio, it's recommended that you update your koha-conf.xml file: * adding explain-authorities.xml and explain-biblios.xml * adding necessary info to koha-conf.xml to enable SRU/W * adding several example XSLT stylesheets, that can be used for SRU on-the-fly transformations (to MODS, DC, RDF, etc.) Still remaining for 3.0 are the following tasks: * update MARC21 frameworks (authority and cross-reference bib) * update display code/templates in authority results list * update search code/templates to utilize index points * implement 'grouping' of authtypes for searching (Name, Title, Subject) * repair utility to import auths and perform matching * repair bibliographic import to match auths and warn if no match Signed-off-by: Joshua Ferraro --- C4/AuthoritiesMarc.pm | 17 +- etc/koha-conf.xml | 113 +- etc/zebradb/authorities/etc/bib1.att | 477 ++--- etc/zebradb/biblios/etc/bib1.att | 323 +-- etc/zebradb/ccl.properties | 234 +- etc/zebradb/explain-authorities.xml | 636 ++++++ etc/zebradb/explain-biblios.xml | 636 ++++++ .../marc_defs/marc21/authorities/record.abs | 217 +- .../marc_defs/unimarc/authorities/record.abs | 284 +-- etc/zebradb/zebra-authorities.cfg | 22 +- etc/zebradb/zebra-biblios.cfg | 21 +- .../prog/en/includes/authorities-search.inc | 104 +- .../prog/en/includes/authorities-toolbar.inc | 8 +- .../modules/authorities/authorities-home.tmpl | 82 +- .../modules/authorities/searchresultlist.tmpl | 84 +- .../prog/en/xslt/MARC21slim2DC.xsl | 198 ++ .../prog/en/xslt/MARC21slim2MODS.xsl | 1873 +++++++++++++++++ .../prog/en/xslt/MARC21slim2RDFDC.xsl | 197 ++ .../prog/en/xslt/MARC21slimUtils.xsl | 65 + 19 files changed, 4489 insertions(+), 1102 deletions(-) create mode 100644 etc/zebradb/explain-authorities.xml create mode 100644 etc/zebradb/explain-biblios.xml create mode 100644 koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl create mode 100644 koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl create mode 100644 koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl create mode 100644 koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 26c3640a93..b353d15bc1 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -199,7 +199,7 @@ sub SearchAuthorities { my @authtypecode; my @auths=split / /,$authtypecode ; foreach my $auth (@auths){ - $query .=" \@attr 1=Authority/format-id \@attr 5=100 ".$auth; ##No truncation on authtype + $query .=" \@attr 1=authtype \@attr 5=100 ".$auth; ##No truncation on authtype push @authtypecode ,$auth; $n++; } @@ -217,7 +217,7 @@ sub SearchAuthorities { if (@$tags[$i] eq "mainmainentry") { $attr =" \@attr 1=Heading "; }elsif (@$tags[$i] eq "mainentry") { - $attr =" \@attr 1=Heading-Entity "; + $attr =" \@attr 1=Heading "; }else{ $attr =" \@attr 1=Any "; } @@ -243,9 +243,7 @@ sub SearchAuthorities { $query=$q2; } ## Adding order - # I get an error 207 from zebra 'cannot sort according to sequence', so I'm modifying as below - JF - #$query=' @or @attr 7=1 @attr 1=Heading 0 @or @attr 7=1 @attr 1=Heading-Entity 1'.$query if ($sortby eq "HeadingAsc"); - #$query=' @or @attr 7=2 @attr 1=Heading 0 @or @attr 7=1 @attr 1=Heading-Entity 1'.$query if ($sortby eq "HeadingDsc"); + #$query=' @or @attr 7=2 @attr 1=Heading 0 @or @attr 7=1 @attr 1=Heading 1'.$query if ($sortby eq "HeadingDsc"); $query=' @or @attr 7=1 @attr 1=Heading 0'.$query if ($sortby eq "HeadingAsc"); $query=' @or @attr 7=2 @attr 1=Heading 0'.$query if ($sortby eq "HeadingDsc"); @@ -784,8 +782,13 @@ sub BuildSummary{ ## give this a Marc record to return summary my ($record,$authid,$authtypecode)=@_; my $dbh=C4::Context->dbh; - my $authref = GetAuthType($authtypecode); - my $summary = $authref->{summary}; + my $summary; + # handle $authtypecode is NULL or eq "" + if ($authtypecode) { + my $authref = GetAuthType($authtypecode); + $summary = $authref->{summary}; + } + # FIXME: should use I18N.pm my %language; $language{'fre'}="Français"; $language{'eng'}="Anglais"; diff --git a/etc/koha-conf.xml b/etc/koha-conf.xml index a59b9c48a3..2e671ca56d 100644 --- a/etc/koha-conf.xml +++ b/etc/koha-conf.xml @@ -14,6 +14,61 @@ __ZEBRA_DATA_DIR__/biblios __ZEBRA_CONF_DIR__/zebra-biblios.cfg __ZEBRA_CONF_DIR__/pqf.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + __DB_HOST__ + 9999 + biblios + + + + __ZEBRA_CONF_DIR__/ccl.properties @@ -25,6 +80,62 @@ __ZEBRA_DATA_DIR__/authorities __ZEBRA_CONF_DIR__/zebra-authorities.cfg + __ZEBRA_CONF_DIR__/pqf.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + __DB_HOST__ + 9999 + authorities + + + + __ZEBRA_CONF_DIR__/ccl.properties @@ -50,7 +161,7 @@ __OPAC_CGI_DIR__/opac __OPAC_TMPL_DIR__ __INTRANET_TMPL_DIR__ - __INTRANET_TMPL_DIR__/default/en/includes/ + __INTRANET_TMPL_DIR__/prog/en/includes/ __LOG_DIR__ diff --git a/etc/zebradb/authorities/etc/bib1.att b/etc/zebradb/authorities/etc/bib1.att index 26f5c29c9c..c6777dcda4 100644 --- a/etc/zebradb/authorities/etc/bib1.att +++ b/etc/zebradb/authorities/etc/bib1.att @@ -1,319 +1,164 @@ -# $Id: bib1.att,v 1.1 2002/10/22 12:51:09 adam Exp $ -# Bib-1 Attribute Set +# Bib-1 Attribute Set for Authority records name bib1 reference Bib-1 -#include gils.att - - -att 1 Personal-name -att 2 Corporate-name -att 3 Conference-name -att 4 Title -att 5 Title-series -att 6 Title-uniform -att 7 ISBN -att 8 ISSN -att 9 LC-card-number -att 10 BNB-card-number -att 11 BGF-number -att 12 Local-number -att 13 Dewey-classification -att 14 UDC-classification -att 15 Bliss-classification -att 16 LC-call-number -att 17 NLM-call-number -att 18 NAL-call-number -att 19 MOS-call-number -att 20 Local-classification -att 21 Subject -att 22 Subject-Rameau -att 23 BDI-index-subject -att 24 INSPEC-subject -att 25 MESH-subject -att 26 PA-subject -att 27 LC-subject-heading -att 28 RVM-subject-heading -att 29 Local-subject-index -att 30 Date -att 31 pubdate -att 32 Date-of-acquisition -att 33 Title-key -att 34 Title-collective -att 35 Title-parallel -att 36 Title-cover -att 37 Title-added-title-page -att 38 Title-caption -att 39 Title-running -att 40 Title-spine -att 41 Title-other-variant -att 42 Title-former -att 43 Title-abbreviated -att 44 Title-expanded -att 45 Subject-precis -att 46 Subject-rswk -att 47 Subject-subdivision -att 48 Number-natl-biblio -att 49 Number-legal-deposit -att 50 Number-govt-pub -att 51 Number-music-publisher -att 52 Number-db -att 53 Number-local-call -att 54 ln -att 55 Code-geographic -att 56 Code-institution -att 57 Name-and-title -att 58 Name-geographic -att 59 pl -att 60 CODEN -att 61 Microform-generation -att 62 Abstract -att 63 Note -att 1000 Author-title -# Record-type -att 1001 rtype -att 1002 Name -att 1003 Author -att 1004 Author-name-personal -att 1005 Author-name-corporate -att 1006 Author-name-conference -att 1007 Identifier-standard -att 1008 Subject-LC-childrens -att 1009 Subject-name-personal -att 1010 Body-of-text -att 1011 dateaddeddb -att 1012 Date/time-last-modified -att 1013 Authority/format-id -att 1014 Concept-text -att 1015 Concept-reference -att 1016 Any -att 1017 Server-choice -att 1018 Publisher -att 1019 Record-source -att 1020 Editor -att 1021 Bib-level -att 1022 Geographic-class -att 1023 Indexed-by -att 1024 Map-scale -att 1025 Music-key -att 1026 Related-periodical -att 1027 Report-number -att 1028 Stock-number -att 1030 Thematic-number -att 1031 Material-type -att 1032 Doc-id -att 1033 Host-item -att 1034 ctype -att 1035 Anywhere -att 1036 Author-Title-Subject - -# Koha Specific Stuff -att 8001 Extent -att 8910 Koha-Auth-Number - -# record length according to the leader -att 8005 llength -#att 8002 Summary -#att 8900 Call-Number - -# Usually Target Audience 008/22 -att 8822 ta - -# Usually Form of item 008/23 -att 8823 ff8-23 - -# Usually Nature of contents 008/24-27 -att 8824 ff8-24-27 - -# Usually Content-type, also Form of item for maps 008/29 -att 8829 ff8-29 - -# Usually Literary Form 008/33 -att 8833 lf -#att 8833 ff8-33 - -# Usually Biography, also Special format characteristics for maps 008/34 -att 8834 bio -#att 8834 ff8-34 - -att 8700 ff7-00 -att 8701 ff7-01 -att 8702 ff7-02 -att 8703 ff7-01-02 - -att 9100 dynixbib-id -att 9520 withdrawn -att 9521 lost -att 9522 onloan - -att 9523 popularity -# Author-personal-bibliography - lastname,firstname in 100$a -att 8900 Author-personal-bibliography -# Author-in-order - firstname lastname in 245$c statement of responsibility -att 8901 Author-in-order - - -# Koha Specific Stuff - -att 8900 Call-Number -att 8800 date-entered-on-file -att 8801 date1 -att 8802 date2 -att 8805 language -att 8822 ff8-22 -att 8833 ff8-33 -att 8834 ff8-34 - -att 8700 ff7-00 -att 8701 ff7-01 -att 8702 ff7-02 - -###################################################################### -###################################################################### -#Authorities -###################################################################### -###################################################################### - -####################################### -#Coded Entries -####################################### - -#used in $5 for relationships -#Coded field - -att 9200 Auth-RelationShip - -#used in $2 should contain authtypecode if authority is an other type -#Coded field -att 9210 Auth-Internal-authtype - -#used in $3 should contain authid if authority is an other type -#Coded field -att 9220 Auth-Internal-LN - -#used in $7 should contain Script language -#Coded field (Greek, and other alphabets) -att 9230 Auth-Script - -#used in $8 should contain Entity language -#Coded field (Greek, and other alphabets) -att 9240 Auth-Language - -#BUGFIX ?? -# Maybe there could be a problem to define so few types. -# We could have MANY undesired results not to have a specialization by Authtype -# It can be added - -#used in $2 should contain authtypecode if authority is an other type -#Coded field -#Can be found also by Authority/format-id -att 9250 Authority/format-id - - -###################################################### -# Global search (Any AuthorityType) -###################################################### -att 9001 Heading -att 9002 See -att 9003 See-also -att 9004 Parallel -att 9005 Heading-entity -att 9006 See-Entity -att 9007 See-also-Entity -att 9008 Parallel-Entity -att 9009 Subject-heading -att 9000 Name-geographic - -###################################################### -# Main Entries -###################################################### - -att 9011 Personal-heading -att 9012 Corporate-heading -att 9013 Conference-heading -att 9014 Place-heading -att 9015 Trademark-heading -att 9016 Title-uniform -att 9017 Collective-Title-uniform -att 9018 Place-Access -#att 9019 Subject-heading is already defined -#att 9010 Name-geographic - -att 9021 Personal-see -att 9022 Corporate-see -att 9023 Conference-see -att 9024 Place-see -att 9025 Trademark-see -att 9026 Title-uniform-see -att 9027 Collective-Title-uniform-see -att 9028 Place-Access-see -att 9029 Subject-see -att 9020 Name-geographic-see - -att 9031 Personal-see-also -att 9032 Corporate-see-also -att 9033 Conference-see-also -att 9034 Place-see-also -att 9035 Trademark-see-also -att 9036 Title-uniform-see-also -att 9037 Collective-Title-uniform-see-also -att 9038 Place-Access-see-also -att 9039 Subject-see-also -att 9030 Name-geographic-see-also - -att 9041 Personal-parallel -att 9042 Corporate-parallel -att 9043 Conference-parallel -att 9044 Place-parallel -att 9045 Trademark-parallel -att 9046 Title-uniform-parallel -att 9047 Collective-Title-uniform-parallel -att 9048 Place-Access-parallel -att 9049 Subject-parallel -att 9040 Name-geographic-parallel - - -###################################### -#Whole record -###################################### -att 9101 Personal-heading-entity -att 9102 Corporate-heading-entity -att 9103 Conference-heading-entity -att 9104 Place-heading-entity -att 9105 Trademark-heading-entity -att 9106 Title-uniform-entity -att 9107 Collective-Title-uniform-entity -att 9108 Place-Access-entity -att 9109 Subject-heading-entity -att 9130 Name-geographic-entity - -att 9111 Personal-see-entity -att 9112 Corporate-see-entity -att 9113 Conference-see-entity -att 9114 Place-see-entity -att 9115 Trademark-see-entity -att 9116 Title-see-entity -att 9117 Collective-Title-uniform-see-entity -att 9118 Place-Access-see-entity -att 9119 Subject-see-entity - -att 9121 Personal-see-also-entity -att 9122 Corporate-see-also-entity -att 9123 Conference-see-also-entity -att 9124 Place-see-also-entity -att 9125 Trademark-see-also-entity -att 9126 Title-see-also-entity -att 9127 Collective-Title-uniform-see-also-entity -att 9128 Place-Access-see-also-entity -att 9129 Subject-see-also-entity - -att 9131 Personal-parallel-entity -att 9132 Corporate-parallel-entity -att 9133 Conference-parallel-entity -att 9134 Place-parallel-entity -att 9135 Trademark-parallel-entity -att 9136 Title-parallel-entity -att 9137 Collective-Title-uniform-parallel-entity -att 9138 Place-Access-parallel-entity -att 9139 Subject-parallel-entity - +att 9000 authtype +# Personal Name +att 1 Personal-name +att 9001 Personal-name-heading +att 9002 Personal-name-see +att 9003 Personal-name-seealso + +# Corporate Name +att 2 Corporate-name +att 9004 Corporate-name-heading +att 9005 Corporate-name-see +att 9006 Corporate-name-seealso + +# Meeting Name +att 3 Conference-name +att 9007 Conference-name-heading +att 9008 Conference-name-see +att 9009 Conference-name-seealso + +att 4 Title +att 5 Title-series + +# Uniform Title +att 6 Title-uniform +att 9010 Title-uniform-heading +att 9011 Title-uniform-see +att 9012 Title-uniform-seealso + +att 7 ISBN +att 8 ISSN +att 9 LC-card-number +att 10 BNB-card-number +att 11 BGF-number +att 12 Local-number +att 13 Dewey-classification +att 14 UDC-classification +att 15 Bliss-classification +att 16 LC-call-number +att 17 NLM-call-number +att 18 NAL-call-number +att 19 MOS-call-number +att 20 Local-classification + +# Topical Term +att 21 Subject +att 9013 Subject-heading +att 9014 Subject-see +att 9015 Subject-seealso + +att 22 Subject-Rameau +att 23 BDI-index-subject +att 24 INSPEC-subject +att 25 MESH-subject +att 26 PA-subject +att 27 LC-subject-heading +att 28 RVM-subject-heading +att 29 Local-subject-index +att 30 Date +att 31 pubdate +att 32 Date-of-acquisition +att 33 Title-key +att 34 Title-collective +att 35 Title-parallel +att 36 Title-cover +att 37 Title-added-title-page +att 38 Title-caption +att 39 Title-running +att 40 Title-spine +att 41 Title-other-variant +att 42 Title-former +att 43 Title-abbreviated +att 44 Title-expanded +att 45 Subject-precis +att 46 Subject-rswk +att 47 Subject-subdivision +att 48 Number-natl-biblio +att 49 Number-legal-deposit +att 50 Number-govt-pub +att 51 Number-music-publisher +att 52 Number-db +att 53 Number-local-call +att 54 ln +att 55 Code-geographic +att 56 Code-institution +att 57 Name-and-title + +# Geographic Name +att 58 Name-geographic +att 9016 Name-geographic-heading +att 9017 Name-geographic-see +att 9018 Name-geographic-seealso + +# Geographic Term +# non-standard bib1 +att 9019 Term-geographic +att 9020 Term-geographic-heading +att 9021 Term-geographic-see +att 9022 Term-geographic-seealso + +# General Subdivision (defined in att 47) +# att 9023 Subject-subdivision + +# Geographic Subdivision +att 9024 Geographic-subdivision + +# Chronological Subdivision +att 9025 Chronological-subdivision + +# Form Subdivision +att 9026 Form-subdivision + +# Place-publication, reduced to two chars because limited line length for leader indexing +att 59 pl +att 60 CODEN +att 61 Microform-generation +att 62 Abstract +att 63 Note +att 1000 Author-title + +# Record type, reduced to two chars because limited line length for leader indexing +att 1001 rtype +att 1002 Name +att 1003 Author +att 1004 Author-name-personal +att 1005 Author-name-corporate +att 1006 Author-name-conference +att 1007 Identifier-standard +att 1008 Subject-LC-childrens +att 1009 Subject-name-personal +att 1010 Body-of-text +att 1011 date-entered-on-file +att 1012 Date/time-last-modified +att 1013 Authority/format-id +att 1014 Concept-text +att 1015 Concept-reference +att 1016 Any +att 1017 Server-choice +att 1018 Publisher +att 1019 Record-source +att 1020 Editor +att 1021 Bib-level +att 1022 Geographic-class +att 1023 Indexed-by +att 1024 Map-scale +att 1025 Music-key +att 1026 Related-periodical +att 1027 Report-number +att 1028 Stock-number +att 1030 Thematic-number +att 1031 Material-type +att 1032 Doc-id +att 1033 Host-item +att 1034 ctype +att 1035 Anywhere +att 1036 Author-Title-Subject + +# Koha Local-Use Authority Indexes +att 8001 Heading +att 8002 See +att 8003 See-also diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att index e4c584b972..9b1fe87f10 100644 --- a/etc/zebradb/biblios/etc/bib1.att +++ b/etc/zebradb/biblios/etc/bib1.att @@ -3,180 +3,181 @@ name bib1 reference Bib-1 -att 1 Personal-name -att 2 Corporate-name -att 3 Conference-name -att 4 Title -att 5 Title-series -att 6 Title-uniform -att 7 ISBN -att 8 ISSN -att 9 LC-card-number -att 10 BNB-card-number -att 11 BGF-number -att 12 Local-number -att 13 Dewey-classification -att 14 UDC-classification -att 15 Bliss-classification -att 16 LC-call-number -att 17 NLM-call-number -att 18 NAL-call-number -att 19 MOS-call-number -att 20 Local-classification -att 21 Subject -att 22 Subject-Rameau -att 23 BDI-index-subject -att 24 INSPEC-subject -att 25 MESH-subject -att 26 PA-subject -att 27 LC-subject-heading -att 28 RVM-subject-heading -att 29 Local-subject-index -att 30 copydate -att 31 pubdate -att 32 Date-of-acquisition -att 33 Title-key -att 34 Title-collective -att 35 Title-parallel -att 36 Title-cover -att 37 Title-added-title-page -att 38 Title-caption -att 39 Title-running -att 40 Title-spine -att 41 Title-other-variant -att 42 Title-former -att 43 Title-abbreviated -att 44 Title-expanded -att 45 Subject-precis -att 46 Subject-rswk -att 47 Subject-subdivision -att 48 Number-natl-biblio -att 49 Number-legal-deposit -att 50 Number-govt-pub -att 51 Number-music-publisher -att 52 Number-db -att 53 Number-local-call -att 54 ln -att 55 Code-geographic -att 56 Code-institution -att 57 Name-and-title -att 58 Name-geographic -att 59 pl -att 60 CODEN -att 61 Microform-generation -att 62 Abstract -att 63 Note -att 1000 Author-title -# Record-type -att 1001 rtype -att 1002 Name -att 1003 Author -att 1004 Author-name-personal -att 1005 Author-name-corporate -att 1006 Author-name-conference -att 1007 Identifier-standard -att 1008 Subject-LC-childrens -att 1009 Subject-name-personal -att 1010 Body-of-text -att 1011 date-entered-on-file -att 1012 Date/time-last-modified -att 1013 Authority/format-id -att 1014 Concept-text -att 1015 Concept-reference -att 1016 Any -att 1017 Server-choice -att 1018 Publisher -att 1019 Record-source -att 1020 Editor -att 1021 Bib-level -att 1022 Geographic-class -att 1023 Indexed-by -att 1024 Map-scale -att 1025 Music-key -att 1026 Related-periodical -att 1027 Report-number -att 1028 Stock-number -att 1030 Thematic-number -att 1031 Material-type -att 1032 Doc-id -att 1033 Host-item -att 1034 ctype -att 1035 Anywhere -att 1036 Author-Title-Subject +att 1 Personal-name +att 2 Corporate-name +att 3 Conference-name +att 4 Title +att 5 Title-series +att 6 Title-uniform +att 7 ISBN +att 8 ISSN +att 9 LC-card-number +att 10 BNB-card-number +att 11 BGF-number +att 12 Local-number +att 13 Dewey-classification +att 14 UDC-classification +att 15 Bliss-classification +att 16 LC-call-number +att 17 NLM-call-number +att 18 NAL-call-number +att 19 MOS-call-number +att 20 Local-classification +att 21 Subject +att 22 Subject-Rameau +att 23 BDI-index-subject +att 24 INSPEC-subject +att 25 MESH-subject +att 26 PA-subject +att 27 LC-subject-heading +att 28 RVM-subject-heading +att 29 Local-subject-index +att 30 copydate +att 31 pubdate +att 32 Date-of-acquisition +att 33 Title-key +att 34 Title-collective +att 35 Title-parallel +att 36 Title-cover +att 37 Title-added-title-page +att 38 Title-caption +att 39 Title-running +att 40 Title-spine +att 41 Title-other-variant +att 42 Title-former +att 43 Title-abbreviated +att 44 Title-expanded +att 45 Subject-precis +att 46 Subject-rswk +att 47 Subject-subdivision +att 48 Number-natl-biblio +att 49 Number-legal-deposit +att 50 Number-govt-pub +att 51 Number-music-publisher +att 52 Number-db +att 53 Number-local-call +att 54 ln +att 55 Code-geographic +att 56 Code-institution +att 57 Name-and-title +att 58 Name-geographic +# Place-publication, reduced to two chars because limited line length for leader indexing +att 59 pl +att 60 CODEN +att 61 Microform-generation +att 62 Abstract +att 63 Note +att 1000 Author-title +# Record-type, reduced in size because limited line length for leader indexing +att 1001 rtype +att 1002 Name +att 1003 Author +att 1004 Author-name-personal +att 1005 Author-name-corporate +att 1006 Author-name-conference +att 1007 Identifier-standard +att 1008 Subject-LC-childrens +att 1009 Subject-name-personal +att 1010 Body-of-text +att 1011 date-entered-on-file +att 1012 Date/time-last-modified +att 1013 Authority/format-id +att 1014 Concept-text +att 1015 Concept-reference +att 1016 Any +att 1017 Server-choice +att 1018 Publisher +att 1019 Record-source +att 1020 Editor +att 1021 Bib-level +att 1022 Geographic-class +att 1023 Indexed-by +att 1024 Map-scale +att 1025 Music-key +att 1026 Related-periodical +att 1027 Report-number +att 1028 Stock-number +att 1030 Thematic-number +att 1031 Material-type +att 1032 Doc-id +att 1033 Host-item +att 1034 ctype +att 1035 Anywhere +att 1036 Author-Title-Subject # Koha Local-Use Biblio Indexes -att 9001 Control-number -att 9002 biblioitemnumber -att 9003 totalissues -att 9004 cn-bib-source -att 9005 cn-bib-sort -att 9006 itemtype -att 9007 cn-class -att 9008 cn-item -att 9009 cn-prefix -att 9010 cn-suffix -att 9011 Suppress +att 9001 Control-number +att 9002 biblioitemnumber +att 9003 totalissues +att 9004 cn-bib-source +att 9005 cn-bib-sort +att 9006 itemtype +att 9007 cn-class +att 9008 cn-item +att 9009 cn-prefix +att 9010 cn-suffix +att 9011 Suppress # Items Index -att 8001 withdrawn -att 8002 lost -att 8003 classification-source -att 8004 materials-specified -att 8005 damaged -att 8006 restricted -att 8007 cn-sort -att 8008 notforloan -att 8009 ccode -att 8010 itemnumber -att 8011 homebranch -att 8012 holdingbranch -att 8013 location +att 8001 withdrawn +att 8002 lost +att 8003 classification-source +att 8004 materials-specified +att 8005 damaged +att 8006 restricted +att 8007 cn-sort +att 8008 notforloan +att 8009 ccode +att 8010 itemnumber +att 8011 homebranch +att 8012 holdingbranch +att 8013 location # handled in bib1 attr 1=32 -#att 8014 Date-of-acquisition -att 8015 acqsource -att 8016 coded-location-qualifier -att 8017 price -att 8018 stack -att 8019 issues -att 8020 renewals -att 8021 reserves -att 8022 Local-classification -att 8023 barcode -att 8024 onloan -att 8025 datelastseen -att 8026 datelastborrowed -att 8027 copynumber -att 8028 uri -att 8029 replacementprice -att 8030 replacementpricedate -att 8031 itype +#att 8014 Date-of-acquisition +att 8015 acqsource +att 8016 coded-location-qualifier +att 8017 price +att 8018 stack +att 8019 issues +att 8020 renewals +att 8021 reserves +att 8022 Local-classification +att 8023 barcode +att 8024 onloan +att 8025 datelastseen +att 8026 datelastborrowed +att 8027 copynumber +att 8028 uri +att 8029 replacementprice +att 8030 replacementpricedate +att 8031 itype ## Fixed Fields and other special indexes -att 9901 Extent -att 8910 Koha-Auth-Number +att 9901 Extent +att 8910 Koha-Auth-Number # record length according to the leader -att 9905 llength -att 9902 Summary -att 9990 Call-Number +att 9905 llength +att 9902 Summary +att 9990 Call-Number # Usually Target Audience 008/22 -att 8822 ta +att 8822 ta # Usually Form of item 008/23 -att 8823 ff8-23 +att 8823 ff8-23 # Usually Nature of contents 008/24-27 -att 8824 ff8-24-27 +att 8824 ff8-24-27 # Usually Content-type, also Form of item for maps 008/29 -att 8829 ff8-29 +att 8829 ff8-29 # Usually Literary Form 008/33 -att 8833 lf -#att 8833 ff8-33 +att 8833 lf +#att 8833 ff8-33 # Usually Biography, also Special format characteristics for maps 008/34 -att 8834 bio -#att 8834 ff8-34 -att 8700 ff7-00 -att 8701 ff7-01 -att 8702 ff7-02 -att 8703 ff7-01-02 +att 8834 bio +#att 8834 ff8-34 +att 8700 ff7-00 +att 8701 ff7-01 +att 8702 ff7-02 +att 8703 ff7-01-02 # Author-personal-bibliography - lastname,firstname in 100$a -att 9900 Author-personal-bibliography +att 9900 Author-personal-bibliography # Author-in-order - firstname lastname in 245$c statement of responsibility -att 9902 Author-in-order +att 9902 Author-in-order diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 2fb866cb59..4fc6b09ec4 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -1,16 +1,16 @@ # CCL field mappings # There are four types of lines in a CCL profile: # 1. qualifier specification -# qualifier-name [ attributeset ,] type = val [ attributeset ,] type = val ... +# qualifier-name [ attributeset ,] type = val [ attributeset ,] type = val ... # # 2. qualifier alias -# q q1 q2 q3 +# q q1 q2 q3 # # 3. comments -# comments begin with # +# comments begin with # # # 4. directives -# @ directive value +# @ directive value # # see http://indexdata.dk/yaz/doc/tools.tkl#CCL for more details # @@ -20,6 +20,7 @@ term t=l,r s=al # Simple rule for a field called "clean" clean t=l,r +################################################### ### 1. BIB1 USE ATTRIBUTES MAPPED TO CCL QUALIFIERS # # SEE http://www.loc.gov/z3950/agency/bib1.html @@ -244,14 +245,13 @@ callnum Local-classification # location. The code space is # defined by the target. Code-institution 1=56 -homebranch Code-institution # #Code-language 54 A code that indicates the 008/35-37, 041 # language of the item. # The codes are defined by the # target. -language 1=54 +language 1=54 ln language #Code-map-scale 1024 Coded form of cartographic 034 @@ -273,7 +273,7 @@ ln language Record-type 1=1001 rtype Record-type mc-rtype Record-type -mus 1=1001 +mus Record-type #Concept-reference 1015 Used within Z39.50-1988; # included here for historical @@ -292,7 +292,7 @@ mus 1=1001 # publication. For example: # review, catalog, encyclopedia, # directory. -Content-type 1=1034 t=b +Content-type 1=1034 t=b ctype Content-type #Control number-BNB 10 Character string that uniquely 015 @@ -322,6 +322,7 @@ ctype Content-type # is not one of the four listed # above). Local-number 1=12 +sn Local-number #Date 30 The point of time at which 005, 008/00-05, # a transaction or event 008/07-10, 260$c, @@ -386,7 +387,7 @@ acqdate Date-of-acquisition # identifies a book uniquely. # Cf. ANSI/NISO Z39.21 and # ISO 2108. -ISBN 1=7 +ISBN 1=7 nb ISBN #Identifier-ISSN 8 International Standard Serial 022, 4XX$x, @@ -395,7 +396,7 @@ nb ISBN # identifies a serial uniquely. # Cf. ANSI/NISO z39.9 and # ISO 3297. -ISSN 1=8 +ISSN 1=8 ns ISSN #Identifier-legal- 49 The copyright registration 017 @@ -434,9 +435,6 @@ ns ISSN # are indexed together in many 030, 035, 037 # online public-access catalogs. #Identifier-standard 1=1007 4=6 -Local-number 1=12 -#sn Identifier-standard -sn Local-number # #Identifier-stock 1028 A stock number that could be 037 # used for ordering the item. @@ -460,12 +458,7 @@ Stock-number 1=1028 # of the item, e.g., cassette, # kit, computer database, # computer file. -Material-type 1=1031 -#collection Material-type -#collection-code Material-type -#mt Material-type -#mc-collection Material-type -#dt-lh Material-type +Material-type 1=1031 #Music-key 1025 A statement of the key in $r in the following: # which the music is written. 130, 240, 243, 630, @@ -493,18 +486,26 @@ Material-type 1=1031 # of persons that is identified 810 # by a particular name. (Subject # name headings are included.) -Corporate-name 1=2 +Corporate-name 1=Corporate-name cpn Corporate-name +Corporate-name-heading 1=Corporate-name-heading +Corporate-name-see 1=Corporate-name-see +Corporate-name-seealso 1=Corporate-name-seealso + #Name-conference 3 A meeting of individuals or 111, 411, 611, 711 # representatives of various 811 # bodies for the purpose of # discussing topics of common # interest. (Subject name # headings are included.) -Conference-name 1=3 +Conference-name 1=Conference-name cfn Conference-name +Conference-name-heading 1=Conference-name-heading +Conference-name-see 1=Conference-name-see +Conference-name-seealso 1=Conference-name-seealso + #Name-editor 1020 A person who prepared for 100 $a or 700 $a when # publication an item that is the corresponding $e # not his or her own. contains value 'ed.' @@ -513,17 +514,32 @@ cfn Conference-name #Name-geographic 58 Name of a country, 651 # jurisdiction, region, or # geographic feature. -#Name-geographic 1=58 +Name-geographic 1=Name-geographic +Name-geographic-heading 1=Name-geographic-heading +Name-geographic-see 1=Name-geographic-see +Name-geographic-seealso 1=Name-geographic-seealso + +# Term-geographic 9019 Geographic Term +Term-geographic 1=Term-geographic +Term-geographic-heading 1=Term-geographic-heading +Term-geographic-see 1=Term-geographic-see +Term-geographic-seealso 1=Term-geographic-seealso #Name-geographic-place- 59 City or town where an item 008/15-17, 260$a #publication was published. +Place-publication 1=59 +pl Place-publication #Name-personal 1 A person's real name, 100, 400, 600, 700, # pseudonym, title of nobility 800 # nickname, or initials. -Personal-name 1=1 +Personal-name 1=Personal-name pn Personal-name +Personal-name-heading 1=Personal-name-heading +Personal-name-see 1=Personal-name-see +Personal-name-seealso 1=Personal-name-seealso + #Name-publisher 1018 The organization responsible 260$b # for the publication of the # item. @@ -535,7 +551,7 @@ pb Publisher # physical description, # relationship to other works, # or contents may be recorded. -Note 1=63 +Note 1=63 nt Note #Record-source 1019 The USMARC code or name of the 008/39, 040 @@ -570,7 +586,7 @@ nt Note #Subject 21 The primary topic on which a 600, 610, 611, 630, # work is focused. 650, 651, 653, 654, # 655, 656, 657, 69X -Subject 1=21 +Subject 1=21 su Subject su-to Subject su-geo Subject @@ -672,7 +688,7 @@ su-na 1=1009 # place, period of time treated, # or aspect of the subject # treated. -#Subject-subdivision 1=47 +Subject-subdivision 1=47 #Title 4 A word, phrase, character, 130, 21X-24X, 440, # or group of characters, 490, 730, 740, 830, @@ -682,8 +698,6 @@ su-na 1=1009 # 610, 611, 700, 710, # 711, 800, 810, 811 Title 1=4 -#5=1 1=4 s=pw -#1=4 ti Title #Title-abbreviated 43 Shortened form of the title; 210, 211 (obs.), @@ -717,7 +731,7 @@ ti Title #Title-cover 36 The title printed on the 246i4 # cover of an item as issued. -Title-cover 1=36 +Title-cover 1=36 #Title-expanded 44 An expanded (or augmented) 214 (obs.), 246 # title has been enlarged with @@ -741,7 +755,7 @@ Title-cover 1=36 # example, a journal title # when the record describes an # article in the journal. -Host-item 1=1033 +Host-item 1=1033 #Title-key 33 The unique name assigned to 222 # a serial by the International @@ -775,7 +789,7 @@ Host-item 1=1033 # a group of separate, but subfield $t in the # related, items. following: 400,410, # 411, 800, 810, 811 -Title-series 1=5 +Title-series 1=5 #series Title-series se Title-series @@ -787,30 +801,38 @@ se Title-series # a work is to be identified subfield $t in the # for cataloging purposes. following: 700,710, # 711 -Title-uniform 1=6 +Title-uniform 1=Title-uniform ut Title-uniform -#Authority-number Koha-Auth-Number The Number -# for an authority to be searched subfield $9 in the -# for cataloging purposes. following: 700,701,702,710, -# 711,712 and some 6XX fields (Unimarc) -# 8910 -Authority-Number 1=Koha-Auth-Number + +Title-uniform-heading 1=Title-uniform-heading +Title-uniform-see 1=Title-uniform-see +Title-uniform-seealso 1=Title-uniform-seealso + +#Authority-number Koha-Auth-Number The identifier of the the authority +# record, stored in 001 in the authority record, and $9/$0 in the +# field that record is linked to in the bib record +Authority-Number 1=Koha-Auth-Number an Authority-Number Koha-Auth-Number Authority-Number -#Authority/format-id authtypecode The Code -# associated to an authority type -# 152$b in authority records -Authority/format-id 1=Authority/format-id -at Authority/format-id +#authtype A coded value representing the authority type +# 942$a in auth records +authtype 1=authtype +at authtype -#Heading-Entity Information for Heading in an -# authority record -# usually 2.. fields -Heading-Entity 1=Heading-Entity -he Heading-Entity +# Subdivisions +Geographic-subdivision 1=Geographic-subdivision +Chronological-subdivision 1=Chronological-subdivision +Form-subdivision 1=Form-subdivision +# Koha Local-Use Authority Indexes +Heading 1=Heading +he Heading +See 1=See +See-also 1=See-also + +################################################### ### 2. BIB1 RELATION ATTRIBUTES lt 2=1 le 2=2 @@ -828,6 +850,7 @@ AlwaysMatches 2=103 Within 2=104 +################################################### ### 3. BIB1 POSITION ATTRIBUTES first-in-field 3=1 @@ -841,59 +864,60 @@ startswithnt 3=1 5=101 6=3 first-in-subfield 3=2 any-position-in-field 3=3 +################################################### ### 4. BIB1 STRUCTURE ATTRIBUTES st-phrase 4=1 phr st-phrase -st-word 4=2 -st-key 4=3 -st-year 4=4 -st-date-normalized 4=5 -st-word-list 4=6 +st-word 4=2 +st-key 4=3 +st-year 4=4 +st-date-normalized 4=5 +st-word-list 4=6 wrdl st-word-list #st-word -st-date-un-normalized 4=100 -st-name-normalized 4=101 -st-name-un-normalized 4=102 -st-structure 4=103 -st-urx 4=104 -st-free-form-text 4=105 -st-document-text 4=106 +st-date-un-normalized 4=100 +st-name-normalized 4=101 +st-name-un-normalized 4=102 +st-structure 4=103 +st-urx 4=104 +st-free-form-text 4=105 +st-document-text 4=106 st-local-number 4=107 -st-string 4=108 +st-string 4=108 # http://indexdata.dk/yaz/doc/tools.tkl#ccl.special.attribute.combos -st-numeric 4=109 r=o +st-numeric 4=109 r=o #string 109 +################################################### ### 5. BIB1 TRUNCATION ATTRIBUTES right-Truncation 5=1 rt right-Truncation rtrn right-Truncation -left-Truncation 5=2 +left-Truncation 5=2 ltrn left-Truncation -left-and-right 5=3 +left-and-right 5=3 rltrn left-and-right -do-not-truncate 5=100 -process-in-search-term 5=101 -regExpr-1 5=102 +do-not-truncate 5=100 +process-in-search-term 5=101 +regExpr-1 5=102 fuzzy 5=103 -regExpr-2 5=103 -Z39-58 5=104 +regExpr-2 5=103 +Z39-58 5=104 +################################################### ### 6. BIB1 STRUCTURE ATTRIBUTES -incomplete-subfield 6=1 -complete-subfield 6=2 -complete-field 6=3 +incomplete-subfield 6=1 +complete-subfield 6=2 +complete-field 6=3 -### COMBINATIONS OF THE ABOVE +################################################### +### SPECIAL COMBINATIONS OF THE ABOVE ext 4=1 6=3 -## ATTRIBUTES NOT IN BIB1 OR ELSE ONES I DON"T KNOW WHERE IN BIB1 THEY BELONG -#Language -#ln 1=8805 -#language 1=8805 -#Musical Composition -#mc +################################################### +## ATTRIBUTES NOT IN BIB1 +### # Koha Local-Use Biblio Indexes Control-number 1=9001 biblionumber 1=9002 @@ -907,7 +931,11 @@ cn-prefix 1=9009 cn-suffix 1=9010 Suppress 1=9011 date-entered-on-file 1=date-entered-on-file +extent 1=Extent +llength 1=llength +Summary 1=Summary +### # Items Index withdrawn 1=8001 lost 1=8002 @@ -919,9 +947,12 @@ cn-sort 1=8007 notforloan 1=8008 ccode 1=8009 itemnumber 1=8010 -Code-institution 1=8011 +# homebranch 1=8011 +homebranch 1=homebranch +branch homebranch holdingbranch 1=8012 location 1=8013 +# defined as 1=32 above #Date-of-acquisition 1=8014 acqsource 1=8015 coded-location-qualifier 1=8016 @@ -942,20 +973,9 @@ replacementprice 1=8029 replacementpricedate 1=8030 itype 1=8031 mc itype -# Publisher Location - -Place-publication 1=59 -pl Place-publication -#pl 1=59 - -# Extent -#Extent 1=8001 -#att 8900 -#Call-Number 1=8900 #date1 1=8801 #date2 1=8802 -#language 8805 ff8-22 1=8822 ff8-23 1=8823 ff8-34 1=8834 @@ -978,46 +998,33 @@ ff8-34 1=8834 # lastname,firstname entry in $100$a Author-personal-bibliography 1=8900 aub Author-personal-bibliography + # Author-in-order - firstname lastname in 245$c statement of responsibility Author-in-order 1=8901 auo Author-in-order -### LIMITS -# AUDIENCE +# Audience audience 1=8822 aud audience -# CONTENT and Literary form +# Content and Literary form fiction 1=8833 fic fiction -#mystery 1= +#mystery 1=? biography 1=8834 bio biography -# FORMAT +# Format format 1=8823 - -# format limit +# format used as a limit FIXME: needed? l-format 1=8703 -#fmt format - -# BRANCH (of local library) -branch 1=homebranch -#1033 - Illustration-code 1=Illustration-code -# Item Type - -# Year limit -#yr 1=8801 4=109 r=r -## STATUSES +## Statuses popularity 1=issues -# Material Category -#mc 1=8700 -## TYPE LIMITS +## Type Limits dt-bks 1=8700 dt-vis 1=8700 dt-sr 1=8700 @@ -1043,6 +1050,7 @@ sort1 7=1 sort2 7=2 sort3 7=3 +################################################### # CCL DIRECTIVES # Truncation characters (it seems to take multiple arguments) @truncation ? * @@ -1071,6 +1079,7 @@ sort3 7=3 # a !n b # Integer n may be omitted - in which case distance is 1. +################################################### # Rules for a few GILS fields #north gils-attset,u=2040 r=o #south gils-attset,u=2041 r=o @@ -1079,6 +1088,7 @@ sort3 7=3 #distributor gils-attset,u=2000 s=pw #distributorname gils-attset,u=2001 s=pw +################################################### # Explain fields ExplainCategory exp1,1=1 HumanStringLanguage exp1,1=2 diff --git a/etc/zebradb/explain-authorities.xml b/etc/zebradb/explain-authorities.xml new file mode 100644 index 0000000000..475b23aaaf --- /dev/null +++ b/etc/zebradb/explain-authorities.xml @@ -0,0 +1,636 @@ + + + + + + + + + + + + + + + __DB_HOST__ + + 9999 + + authorities + + + + + + Koha 3 Authority SRU/SRW/Z39.50 server + + + Koha 3 Authority Server + + + Joshua Ferraro, LibLime, http://liblime.com, + Marc Cromme, Mike Taylor, Index Data Aps, + http://www.indexdata.dk + + Joshua Ferraro, jmf(at)liblime(dot)com + + + + + + Created for Koha 3 + http://koha.org + + + + Index Data YAZ/ZEBRA http://www.indexdata.dk/zebra + + + + + http://__DB_HOST__:9999 + http://__DB_HOST__:9999 + http://__DB_HOST__:9999 + + + + + + + + + + + CQL Standard Set + + + Record Standard Set + + + Alvis Set + + + Dublin Core Set + + + BIB-1 Z39.50 Standard Set + + + + + + CQL Server Choice + serverChoice + + text + + + + CQL All + all + + text + + + + + + Record ID + id + + rec:id + 3 + + + + + + Alvis Text Relevance Ranked + text + + text + 102 + + + + Alvis Anchor Text + anchortext + + anchortext + 102 + + + + Alvis Date Modified + date-modified + + ac:date-modified + 5 + + + + Alvis Date Checked + date-checked + + ac:date-checked + 5 + + + + Alvis Identifier Url + identifier-url + + ac:identifier-url + 3 + + + + + Alvis Topic Class + topic-class + + an:topic-class + + + + Alvis Language + language + + an:language + + + + Alvis NLP Entity Date + entity-date + + la:entity-date + 3 + + + + Alvis NLP Entity Disease + entity-disease + + la:entity-disease + 3 + + + + Alvis NLP Entity Gene + entity-gene + + la:entity-gene + 3 + + + + Alvis NLP Entity Location + entity-location + + la:entity-location + 3 + + + + + Alvis NLP Entity Person + entity-person + + la:entity-person + 3 + + + + + Alvis NLP Entity Species + entity-species + + la:entity-species + 3 + + + + Alvis NLP Entity URL + entity-url + + la:entity-url + 3 + + + + Alvis NLP Entity Organism + entity-organism + + la:entity-organism + 3 + + + + Alvis NLP Entity Symptom + entity-symptom + + la:entity-symptom + 3 + + + + Alvis NLP Entity Chemical + entity-chemical + + la:entity-chemical + 3 + + + + Alvis NLP Entity Drug + entity-drug + + la:entity-drug + 3 + + + + Alvis NLP Lemma Canonical + lemma-canonical + + la:lemma-canonical + 3 + + + + Alvis NLP Syntactic Noun + syntactic-noun + + la:syntactic-noun + 3 + + + + Alvis NLP Syntactic Verb + syntactic-verb + + la:syntactic-verb + 3 + + + + Alvis NLP Syntactic Adjective + syntactic-adjective + + la:syntactic-adjective + 3 + + + + Alvis NLP Word Form + word-form + + la:word-form + 3 + + + + + + + + DC Title + title + + dc:title + + + + DC Creator + creator + + dc:creator + + + + DC Subject + subject + + dc:subject + + + + DC Description + description + + dc:description + + + + DC Publisher + publisher + + dc:publisher + + + + DC Contributor + contributor + + dc:contributor + + + + DC Date + date + + dc:date + + + + DC Type + type + + dc:type + + + + DC Format + format + + + + + + DC Identifier + identifier + + dc:identifier + + + + DC Source + source + + dc:source + + + + DC Language + language + + dc:language + + + + DC Relation + relation + + dc:relation + + + + DC Coverage + coverage + + dc:coverage + + + + DC Rights + rights + + dc:rights + + + + + + + + + + + Dublin Core + + + + Dublin Core Short Form + + + + + + + + Pretty + + + + Alvis D9.1 Schema + + + + Alvis Enriched + + + + Zebra Indexing + + + + + + + + + + cql + + all + + + = + + + < + <= + = + >= + > + + + + + + + + + + + + + + + + + + + + * + ? + + + + + + + + + + + + + + + + + + + + 0 + + + index + + docpath/sru.xsl + + + xml + + + + + + + + + + + + + + + + + 20 + + + + + + + + 0 + + + + + + + + + + + + + + diff --git a/etc/zebradb/explain-biblios.xml b/etc/zebradb/explain-biblios.xml new file mode 100644 index 0000000000..db802b29ee --- /dev/null +++ b/etc/zebradb/explain-biblios.xml @@ -0,0 +1,636 @@ + + + + + + + + + + + + + + + __DB_HOST__ + + 9999 + + biblios + + + + + + Koha 3 Bibliographic SRU/SRW/Z39.50 server + + + Koha 3 Bibliographic Server + + + Joshua Ferraro, LibLime, http://liblime.com, + Marc Cromme, Mike Taylor, Index Data Aps, + http://www.indexdata.dk + + Joshua Ferraro, jmf(at)liblime(dot)com + + + + + + Created for Koha 3 + http://koha.org + + + + Index Data YAZ/ZEBRA http://www.indexdata.dk/zebra + + + + + http://__DB_HOST__:9999 + http://__DB_HOST__:9999 + http://__DB_HOST__:9999 + + + + + + + + + + + CQL Standard Set + + + Record Standard Set + + + Alvis Set + + + Dublin Core Set + + + BIB-1 Z39.50 Standard Set + + + + + + CQL Server Choice + serverChoice + + text + + + + CQL All + all + + text + + + + + + Record ID + id + + rec:id + 3 + + + + + + Alvis Text Relevance Ranked + text + + text + 102 + + + + Alvis Anchor Text + anchortext + + anchortext + 102 + + + + Alvis Date Modified + date-modified + + ac:date-modified + 5 + + + + Alvis Date Checked + date-checked + + ac:date-checked + 5 + + + + Alvis Identifier Url + identifier-url + + ac:identifier-url + 3 + + + + + Alvis Topic Class + topic-class + + an:topic-class + + + + Alvis Language + language + + an:language + + + + Alvis NLP Entity Date + entity-date + + la:entity-date + 3 + + + + Alvis NLP Entity Disease + entity-disease + + la:entity-disease + 3 + + + + Alvis NLP Entity Gene + entity-gene + + la:entity-gene + 3 + + + + Alvis NLP Entity Location + entity-location + + la:entity-location + 3 + + + + + Alvis NLP Entity Person + entity-person + + la:entity-person + 3 + + + + + Alvis NLP Entity Species + entity-species + + la:entity-species + 3 + + + + Alvis NLP Entity URL + entity-url + + la:entity-url + 3 + + + + Alvis NLP Entity Organism + entity-organism + + la:entity-organism + 3 + + + + Alvis NLP Entity Symptom + entity-symptom + + la:entity-symptom + 3 + + + + Alvis NLP Entity Chemical + entity-chemical + + la:entity-chemical + 3 + + + + Alvis NLP Entity Drug + entity-drug + + la:entity-drug + 3 + + + + Alvis NLP Lemma Canonical + lemma-canonical + + la:lemma-canonical + 3 + + + + Alvis NLP Syntactic Noun + syntactic-noun + + la:syntactic-noun + 3 + + + + Alvis NLP Syntactic Verb + syntactic-verb + + la:syntactic-verb + 3 + + + + Alvis NLP Syntactic Adjective + syntactic-adjective + + la:syntactic-adjective + 3 + + + + Alvis NLP Word Form + word-form + + la:word-form + 3 + + + + + + + + DC Title + title + + dc:title + + + + DC Creator + creator + + dc:creator + + + + DC Subject + subject + + dc:subject + + + + DC Description + description + + dc:description + + + + DC Publisher + publisher + + dc:publisher + + + + DC Contributor + contributor + + dc:contributor + + + + DC Date + date + + dc:date + + + + DC Type + type + + dc:type + + + + DC Format + format + + + + + + DC Identifier + identifier + + dc:identifier + + + + DC Source + source + + dc:source + + + + DC Language + language + + dc:language + + + + DC Relation + relation + + dc:relation + + + + DC Coverage + coverage + + dc:coverage + + + + DC Rights + rights + + dc:rights + + + + + + + + + + + Dublin Core + + + + Dublin Core Short Form + + + + + + + + Pretty + + + + Alvis D9.1 Schema + + + + Alvis Enriched + + + + Zebra Indexing + + + + + + + + + + cql + + all + + + = + + + < + <= + = + >= + > + + + + + + + + + + + + + + + + + + + + * + ? + + + + + + + + + + + + + + + + + + + + 0 + + + index + + docpath/sru.xsl + + + xml + + + + + + + + + + + + + + + + + 20 + + + + + + + + 0 + + + + + + + + + + + + + + diff --git a/etc/zebradb/marc_defs/marc21/authorities/record.abs b/etc/zebradb/marc_defs/marc21/authorities/record.abs index 5cde34e040..8f1ab6760f 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/record.abs +++ b/etc/zebradb/marc_defs/marc21/authorities/record.abs @@ -1,19 +1,6 @@ -# $Id: record_authorities_unimarc.abs,v 1.1.2.1 2006/11/28 10:11:56 tipaul Exp $ - -# indexing rules. It -# results in a server which provides a passable Bath level 0 and 1 service -############################################################################ -# IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra -# the default record.abs is designed for MARC21. -############################################################################ -# NOTE: This is designed to be used with the grs.marcxml input filter -# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It -# won't work for the old grs.marc input filter, which yields a different -# internal structure. - +# This is a fairly simple set of MARC21 Authority indexing rules encoding utf-8 name authorities -#attset auth1.att attset bib1.att attset gils.att esetname F @ @@ -21,166 +8,62 @@ esetname B @ marc usmarc.mar systag sysno rank -xpath disable +xpath enable all any -melm 001 Local-Number -melm 152$b Authority/format-id -#melm 005 Version-id -#melm 015 IASDN +melm 001 Local-Number +#melm 942$a authtype +melm 152$b authtype + +# Personal Name +melm 100 Personal-name:w,Personal-name:p,Personal-name:s,Heading:w,Heading:p,Heading:s +melm 100$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s +melm 400 Personal-name-see:w,Personal-name-see:p,Personal-name-see:s,See:w,See:p,See:s +melm 500 Personal-name-see-also:w,Personal-name-see-also:p,Personal-name-see-also:s,See-also:w,See-also:p,See-also:s +# Corporate Name +melm 110$a Corporate-name-heading:w,Corporate-name-heading:p,Corporate-name-heading:s,Corporate-name:w,Corporate-name:p,Heading:w,Heading:p,Heading:s +melm 110 Corporate-name:w,Corporate-name:p,Corporate-name:s,Heading:w,Heading:p,Heading:s +melm 410 Corporate-name-see:w,Corporate-name-see:p,Corporate-name-see:s,See:w,See:p,See:s +melm 510 Corporate-name-see-also:w,Corporate-name-see-also:p,Corporate-name-see-also:s,See-also:w,See-also:p,See-also:s -######################## -# Coded fields -######################## -#melm 100$a date-entered-on-file:n:range(data,0,8),date-entered-on-file:s:range(data,0,8),auth-status:n:range(data,8,1),auth-status:s:range(data,8,1),language:n:range(data,9,3),language:s:range(data,9,3),char-encoding:w:range(data,13,4),char-encoding:s:range(data,13,4),ff100-17:w:range(data,17,3),ff100-21:w:range(data,21,2),ff100-23:w:range(data,23,1) +# Meeting Name +melm 111$a Conference-name-heading:w,Conference-name-heading:p,Conference-name-heading:s,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Heading:s +melm 111 Conference-name:w,Conference-name:p,Conference-name:s,Heading:w,Heading:p,Heading:s +melm 411 Conference-name-see:w,Conference-name-see:p,Conference-name-see:s,See:w,See:p,See:s +melm 511 Conference-name-see-also:w,Conference-name-see-also:p,Conference-name-see-also:s,See-also:w,See-also:p,See-also:s -#melm 101$a Language -#melm 102$a Country-heading -# Subject-Heading -#melm 106$a Vaut 0(inutilisable sujet-matiere),1 (utilisable sujet-matiere)ou 2(utilisable uniquement sujet-matiere) -#melm 120$a Obligatoire sur Autorite NP : Sexe et discrimination -#melm 123$a Obligatoire sur Autorite GEO : Localisation -#melm 150$a Obligatoire sur Autorite CO : Type de collectivite -# 4XX$3 5XX$3 7XX$3 authority number -# 4XX$5 5XX$5 7XX$5 Linking type -# 4XX$7 5XX$7 7XX$7 Script Cataloguing -# 4XX$8 5XX$8 7XX$8 Language +# Uniform Title +melm 130$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s +melm 130 Title-uniform:w,Title-uniform:p,Title-uniform:s,Heading:w,Heading:p,Heading:s +melm 431 Title-uniform-see:w,Title-uniform-see:p,Title-uniform-see:s,See:w,See:p,See:s +melm 531 Title-uniform-see-also:w,Title-uniform-see-also:p,Title-uniform-see-also:s,See-also:w,See-also:p,See-also:s +# Topical Term +melm 150$a Subject-heading:w,Subject-heading:p,Subject-heading:s,Subject:w,Subject:p,Heading:w,Heading:p,Heading:s +melm 150 Subject:w,Subject:p,Subject:s,Heading:w,Heading:p,Heading:s +melm 450 Subject-see:w,Subject-see:p,Subject-see:s,See:w,See:p,See:s +melm 550 Subject-see-also:w,Subject-see-also:p,Subject-see-also:s,See-also:w,See-also:p,See-also:s -############ HEADINGS ################## -melm 100$a Heading:w,Heading:p,Heading:s,personal-heading,personal-heading:w,personal-heading:s,personal-heading:p -melm 110$a Heading:w,Heading:p,Heading:s,corporate-heading -melm 110$a Heading:w,Heading:p,Heading:s,Conference-heading -melm 115$a Heading:w,Heading:p,Heading:s,Name-geographic -#melm 216 Name-corporate -melm 120$a Heading:w,Heading:p,Heading:s,personal-heading,personal-heading:w,personal-heading:s,personal-heading:p -melm 130$a Heading:w,Heading:p,Heading:s,Title-Uniform,Title-Uniform:w,Title-Uniform:s,Title-Uniform:p -melm 135$a Heading:w,Heading:p,Heading:s,Title-Uniform,Title-Uniform:w,Title-Uniform:s,Title-Uniform:p -melm 150$a Heading:w,Heading:p,Heading:s,Subject-heading,Subject-heading:w,Subject-heading:s,Subject-heading:p +# Geographic Name +melm 151$a Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Heading:w,Heading:p,Heading:s +melm 151 Name-geographic:w,Name-geographic:p,Name-geographic:s,Heading:w,Heading:p,Heading:s +melm 451 Name-geographic-see:w,Name-geographic-see:p,Name-geographic-see:s,See:w,See:p,See:s +melm 551 Name-geographic-see-also:w,Name-geographic-see-also:p,Name-geographic-see-also:s,See-also:w,See-also:p,See-also:s -melm 100 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,personal-Heading-Entity,personal-Heading-Entity:w,personal-Heading-Entity:s,personal-Heading-Entity:p -melm 110 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,corporate-Heading-Entity -melm 110 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Conference-Heading-Entity -melm 115 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Name-geographic-Entity -#melm 216 Name-corporate -melm 120 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,personal-Heading-Entity,personal-Heading-Entity:w,personal-Heading-Entity:s,personal-Heading-Entity:p -melm 130 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Title-Uniform-entity,Title-Uniform-entity:w,Title-Uniform:s,Title-Uniform-entity:p -melm 135 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Title-Uniform-entity,Title-Uniform-entity:w,Title-Uniform:s,Title-Uniform-entity:p -melm 150 Heading-Entity:w,Heading-Entity:p,Heading-Entity:s,Subject-Thesaurus +# Geographic Term +melm 155$a Term-geographic-heading:w,Term-geographic-heading:p,Term-geographic-heading:s,Term-geographic:w,Term-geographic:p,Heading:w,Heading:p,Heading:s +melm 155 Term-geographic:w,Term-geographic:p,Term-geographic:s,Heading:w,Heading:p,Heading:s +melm 455 Term-geographic-see:w,Term-geographic-see:p,Term-geographic-see:s,See:w,See:p,See:s +melm 555 Term-geographic-see-also:w,Term-geographic-see-also:p,Term-geographic-see-also:s,See-also:w,See-also:p,See-also:s -#210 Heading - Corporate Body Name -#215 Heading - Territorial or Geographical Name -#216 Heading - Trademark -#220 Heading - Family Name -#230 Heading - Uniform Title -#235 Heading - Collective Uniform Title -#240 Heading - Name/Title -#245 Heading - Name/Collective Uniform Title -#250 Heading - Topical Subject -#260 Heading - Place Access -#280 Heading - Form, Genre or Physical Characteristics -#melm 712 Author,Author:p,Author:s +# NOTE: subdivisions management missing from Koha +# General Subdivision +melm 180 Subject-subdivision,Heading:w,Heading:p,Heading:s +# Geographic Subdivision +melm 181 Geographic-subdivision,Heading:w,Heading:p,Heading:s +# Chronological Subdivision +melm 182 Chronological-subdivision,Heading:w,Heading:p,Heading:s +# Form Subdivision +melm 185 Form-subdivision,Heading:w,Heading:p,Heading:s -############# Rejected forms ################## -#melm 400$a See, See:w,See:p,See:s,personal-see,personal-see:w,personal-see:s,personal-see:p -#melm 410$a See, See:w,See:p,See:s,corporate-see -#melm 410$a See, See:w,See:p,See:s,Conference-see -#melm 415$a See, See:w,See:p,See:s,Name-geographic-see -##melm 416 Name-corporate -#melm 440$a See, See:w,See:p,See:s,personal-see,personal-see:w,personal-see:s,personal-see:p -#melm 430$a See, See:w,See:p,See:s,Title-Uniform-see,Title-Uniform-see:w,Title-Uniform-see:s,Title-Uniform-see:p -#melm 435$a See, See:w,See:p,See:s,Title-Uniform-see,Title-Uniform-see:w,Title-Uniform-see:s,Title-Uniform-see:p -#melm 450$a See, See:w,See:p,See:s,Subject-see,Subject-see:w,Subject-see:s,Subject-see,:p -#melm 400 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,personal-See-Entity,personal-See-Entity:w,personal-See-Entity:s,personal-See-Entity:p -#melm 410 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,corporate-See-Entity -#melm 410 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Conference-See-Entity -#melm 415 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Name-geographic-See-Entity -##melm 416 Name-corporate -#melm 440 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,personal-See-Entity,personal-See-Entity:w,personal-See-Entity:s,personal-See-Entity:p -#melm 430 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Title-Uniform-See-Entity,Title-Uniform-See-Entity:w,Title-Uniform-See-Entity:s,Title-Uniform-See-Entity:p -#melm 435 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Title-Uniform-See-Entity,Title-Uniform-See-Entity:w,Title-Uniform-See-Entity:s,Title-Uniform-See-Entity:p -#melm 450 See-Entity, See-Entity:w,See-Entity:p,See-Entity:s,Subject-See-Entity,Subject-See-Entity:w,Subject-See-Entity:s,Subject-See-Entity,:p -# -##410 Heading - Corporate Body Name -##415 Heading - Territorial or Geographical Name -##416 Heading - Trademark -##440 Heading - Family Name -##430 Heading - Uniform Title -##435 Heading - Collective Uniform Title -##440 Heading - Name/Title -##445 Heading - Name/Collective Uniform Title -##450 Heading - Topical Subject -##460 Heading - Place Access -##480 Heading - Form, Genre or Physical Characteristics -##melm 714 Author,Author:p,Author:s -# -############# Related forms ################## -#melm 500$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p -#melm 510$a corporate-see-also -#melm 510$a Conference-see-also -#melm 515$a Name-geographic-see-also -##melm 416 Name-corporate -#melm 540$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p -#melm 530$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p -#melm 535$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p -#melm 550$a Subject-see-also,Subject-see-also:w,Subject-see-also:s,Subject-see-also:p -##510 Heading - Corporate Body Name -##515 Heading - Territorial or Geographical Name -##516 Heading - Trademark -##550 Heading - Family Name -##530 Heading - Uniform Title -##535 Heading - Collective Uniform Title -##540 Heading - Name/Title -###545 Heading - Name/Collective Uniform Title -##550 Heading - Topical Subject -##560 Heading - Place Access -##580 Heading - Form, Genre or Physical Characteristics -##melm 714 Author,Author:p,Author:s -# -############# Parallel forms ################## -#melm 700$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p -#melm 710$a corporate-parallel -#melm 710$a Conference-parallel -#melm 715$a Name-geographic-parallel -##melm 716 Name-corporate -#melm 770$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p -#melm 730$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p -#melm 735$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p -#melm 750$a Subject-parallel,Subject-parallel:w,Subject-parallel:s,Subject-parallel:p -# -########### NOTES ################# -#melm 300$a Note !:w,!:p -#melm 301$a Note !:w,!:p -#melm 302$a Note !:w,!:p -#melm 303$a Note !:w,!:p -#melm 304$a Note !:w,!:p -#melm 305$a Note !:w,!:p -#melm 306$a Note !:w,!:p -#melm 307$a Note !:w,!:p -#melm 308$a Note !:w,!:p -#melm 310$a Note !:w,!:p -#melm 311$a Note !:w,!:p -#melm 312$a Note !:w,!:p -#melm 313$a Note !:w,!:p -#melm 314$a Note !:w,!:p -#melm 315$a Note !:w,!:p -#melm 316$a Note !:w,!:p -#melm 317$a Note !:w,!:p -#melm 318$a Note !:w,!:p -#melm 320$a Note !:w,!:p -#melm 321$a Note !:w,!:p -#melm 322$a Note !:w,!:p -#melm 323$a Note !:w,!:p -#melm 324$a Note !:w,!:p -#melm 325$a Note !:w,!:p -#melm 326$a Note !:w,!:p -#melm 327$a Note !:w,!:p -#melm 328$a Note !:w,!:p -#melm 330$a Note !:w,!:p -#melm 332$a Note !:w,!:p -#melm 333$a Note !:w,!:p -#melm 336$a Note !:w,!:p -#melm 337$a Note !:w,!:p -#melm 345$a Note !:w,!:p -##### diff --git a/etc/zebradb/marc_defs/unimarc/authorities/record.abs b/etc/zebradb/marc_defs/unimarc/authorities/record.abs index 31a680ba13..933c13e20d 100644 --- a/etc/zebradb/marc_defs/unimarc/authorities/record.abs +++ b/etc/zebradb/marc_defs/unimarc/authorities/record.abs @@ -1,187 +1,115 @@ - -# indexing rules. It -# results in a server which provides a passable Bath level 0 and 1 service -############################################################################ -# IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra -# the default record.abs is designed for MARC21. -############################################################################ -# NOTE: This is designed to be used with the grs.marcxml input filter -# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It -# won't work for the old grs.marc input filter, which yields a different -# internal structure. - +# This is a fairly simple set of UNIMARC Authority indexing rules encoding utf-8 name authorities -attset auth1.att +attset bib1.att +attset gils.att esetname F @ esetname B @ marc usmarc.mar systag sysno rank -xpath disable +xpath enable all any -melm 001 Local-Number -melm 152$b Authority/format-id -#melm 005 Version-id -#melm 015 IASDN - - -######################## -# Coded fields -######################## -#melm 100$a date-entered-on-file:n:range(data,0,8),date-entered-on-file:s:range(data,0,8),auth-status:n:range(data,8,1),auth-status:s:range(data,8,1),language:n:range(data,9,3),language:s:range(data,9,3),char-encoding:w:range(data,13,4),char-encoding:s:range(data,13,4),ff100-17:w:range(data,17,3),ff100-21:w:range(data,21,2),ff100-23:w:range(data,23,1) - -#melm 101$a Language -#melm 102$a Country-heading -# Subject-Heading -#melm 106$a Vaut 0(inutilisable sujet-matiere),1 (utilisable sujet-matiere)ou 2(utilisable uniquement sujet-matiere) -#melm 120$a Obligatoire sur Autorite NP : Sexe et discrimination -#melm 123$a Obligatoire sur Autorite GEO : Localisation -#melm 150$a Obligatoire sur Autorite CO : Type de collectivite -# 4XX$3 5XX$3 7XX$3 authority number -# 4XX$5 5XX$5 7XX$5 Linking type -# 4XX$7 5XX$7 7XX$7 Script Cataloguing -# 4XX$8 5XX$8 7XX$8 Language - - -############ HEADINGS ################## -melm 200$a Heading,Heading-Entity,Heading:s,personal-heading -melm 210$a Heading,Heading-Entity,Heading:s,corporate-heading,Conference-heading -melm 215$a Heading,Heading-Entity,Heading:s,Name-geographic -#melm 216 Name-corporate -melm 220$a Heading,Heading-Entity,Heading:s,personal-heading -melm 230$a Heading,Heading-Entity,Heading:s,Title-Uniform -melm 235$a Heading,Heading-Entity,Heading:s,Title-Uniform -melm 240$a Heading,Heading-Entity,Heading:s,Name-Title -melm 250$a Heading,Heading-Entity,Heading:s,Subject-heading, Subject-heading:s - -melm 200 Heading-Entity,Heading-Entity:s, personal-Heading-Entity -melm 210 Heading-Entity,Heading-Entity:s,corporate-Heading-Entity -melm 210 Heading-Entity,Heading-Entity:s,Conference-Heading-Entity -melm 215 Heading-Entity,Heading-Entity:s,Name-geographic-Entity -#melm 216 Name-corporate -melm 220 Heading-Entity,Heading-Entity:s,personal-Heading-Entity -melm 230 Heading-Entity,Heading-Entity:s,Title-Uniform-entity -melm 235 Heading-Entity,Heading-Entity:s,Title-Uniform-entity -melm 240 Heading-Entity,Heading-Entity:s,Name-Title-entity -melm 250 Heading-Entity,Subject-Thesaurus - -#210 Heading - Corporate Body Name -#215 Heading - Territorial or Geographical Name -#216 Heading - Trademark -#220 Heading - Family Name -#230 Heading - Uniform Title -#235 Heading - Collective Uniform Title -#240 Heading - Name/Title -#245 Heading - Name/Collective Uniform Title -#250 Heading - Topical Subject -#260 Heading - Place Access -#280 Heading - Form, Genre or Physical Characteristics -#melm 712 Author,Author:p,Author:s - -############ Rejected forms ################## -melm 400$a See, See:s,See-Entity, personal-see,personal-see:w,personal-see:s,personal-see:p -melm 410$a See, See:s,See-Entity, corporate-see -melm 410$a See, See:s,See-Entity, Conference-see -melm 415$a See, See:s,See-Entity, Name-geographic-see -#melm 416 Name-corporate -melm 440$a See, See:s,See-Entity, personal-see,personal-see:s -melm 430$a See, See:s,See-Entity, Title-Uniform-see,Title-Uniform-see:s -melm 435$a See, See:s,See-Entity, Title-Uniform-see,Title-Uniform-see:s -melm 450$a See, See:s,See-Entity, Subject-see,Subject-see:s -melm 400 See-Entity, personal-See-Entity,personal-See-Entity:s -melm 410 See-Entity, corporate-See-Entity -melm 410 See-Entity, Conference-See-Entity -melm 415 See-Entity, Name-geographic-See-Entity -#melm 416 Name-corporate -melm 440 See-Entity, personal-See-Entity -melm 430 See-Entity, Title-Uniform-See-Entity -melm 435 See-Entity, Title-Uniform-See-Entity -melm 435 See-Entity, Name-Title-See-Entity -melm 450 See-Entity,Subject-See-Entity - -#410 Heading - Corporate Body Name -#415 Heading - Territorial or Geographical Name -#416 Heading - Trademark -#440 Heading - Family Name -#430 Heading - Uniform Title -#435 Heading - Collective Uniform Title -#440 Heading - Name/Title -#445 Heading - Name/Collective Uniform Title -#450 Heading - Topical Subject -#460 Heading - Place Access -#480 Heading - Form, Genre or Physical Characteristics -#melm 714 Author,Author:p,Author:s - -############ Related forms ################## -melm 500$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p -melm 510$a corporate-see-also -melm 510$a Conference-see-also -melm 515$a Name-geographic-see-also -#melm 416 Name-corporate -melm 540$a personal-see-also,personal-see-also:w,personal-see-also:s,personal-see-also:p -melm 530$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p -melm 535$a Title-Uniform-see-also,Title-Uniform-see-also:w,Title-Uniform-see-also:s,Title-Uniform-see-also:p -melm 540$a Name-Title-see-also,Name-Title-see-also:w,Name-Title-see-also:s,Name-Title-see-also:p -melm 550$a Subject-see-also,Subject-see-also:w,Subject-see-also:s,Subject-see-also:p -#510 Heading - Corporate Body Name -#515 Heading - Territorial or Geographical Name -#516 Heading - Trademark -#550 Heading - Family Name -#530 Heading - Uniform Title -#535 Heading - Collective Uniform Title -#540 Heading - Name/Title -#545 Heading - Name/Collective Uniform Title -#550 Heading - Topical Subject -#560 Heading - Place Access -#580 Heading - Form, Genre or Physical Characteristics -#melm 714 Author,Author:p,Author:s - -############ Parallel forms ################## -melm 700$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p -melm 710$a corporate-parallel -melm 710$a Conference-parallel -melm 715$a Name-geographic-parallel -#melm 716 Name-corporate -melm 770$a personal-parallel,personal-parallel:w,personal-parallel:s,personal-parallel:p -melm 730$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p -melm 735$a Title-Uniform-parallel,Title-Uniform-parallel:w,Title-Uniform-parallel:s,Title-Uniform-parallel:p -melm 740$a Name-Title-parallel,Name-Title-parallel:w,Name-Title-parallel:s,Name-Title-parallel:p -melm 750$a Subject-parallel,Subject-parallel:w,Subject-parallel:s,Subject-parallel:p - -########## NOTES ################# -melm 300$a Note -melm 301$a Note -melm 302$a Note -melm 303$a Note -melm 304$a Note -melm 305$a Note -melm 306$a Note -melm 307$a Note -melm 308$a Note -melm 310$a Note -melm 311$a Note -melm 312$a Note -melm 313$a Note -melm 314$a Note -melm 315$a Note -melm 316$a Note -melm 317$a Note -melm 318$a Note -melm 320$a Note -melm 321$a Note -melm 322$a Note -melm 323$a Note -melm 324$a Note -melm 325$a Note -melm 326$a Note -melm 327$a Note -melm 328$a Note -melm 330$a Note -melm 332$a Note -melm 333$a Note -melm 336$a Note -melm 337$a Note -melm 345$a Note - +melm 001 Local-Number +#melm 942$a authtype +melm 152$b authtype + +# Personal Name +melm 200 Personal-name:w,Personal-name:p,Personal-name:s,Heading:w,Heading:p,Heading:s +melm 200$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s +melm 400 Personal-name-see:w,Personal-name-see:p,Personal-name-see:s,See:w,See:p,See:s +melm 500 Personal-name-see-also:w,Personal-name-see-also:p,Personal-name-see-also:s,See-also:w,See-also:p,See-also:s +melm 700$a Personal-name-parallel:w,Personal-name-parallel:p,Personal-name-parallel:s,Parallel:w,Parallel:p,Parallel:s + +# Corporate Name +melm 210$a Corporate-name-heading:w,Corporate-name-heading:p,Corporate-name-heading:s,Corporate-name:w,Corporate-name:p,Heading:w,Heading:p,Heading:s +melm 210 Corporate-name:w,Corporate-name:p,Corporate-name:s,Heading:w,Heading:p,Heading:s +melm 410 Corporate-name-see:w,Corporate-name-see:p,Corporate-name-see:s,See:w,See:p,See:s +melm 510 Corporate-name-see-also:w,Corporate-name-see-also:p,Corporate-name-see-also:s,See-also:w,See-also:p,See-also:s +melm 710 Corporate-name-parallel:w,Corporate-name-parallel:p,Corporate-name-parallel:s,Parallel:w,Parallel:p,Parallel:s + +# Meeting Name - Same as Corporate name in UNIMARC? +melm 210$a Conference-name-heading:w,Conference-name-heading:p,Conference-name-heading:s,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Heading:s +melm 210 Conference-name:w,Conference-name:p,Conference-name:s,Heading:w,Heading:p,Heading:s +melm 410 Conference-name-see:w,Conference-name-see:p,Conference-name-see:s,See:w,See:p,See:s +melm 510 Conference-name-see-also:w,Conference-name-see-also:p,Conference-name-see-also:s,See-also:w,See-also:p,See-also:s +melm 710 Corporate-name-parallel:w,Corporate-name-parallel:p,Corporate-name-parallel:s,Parallel:w,Parallel:p,Parallel:s + +# Uniform Title +melm 230$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s +melm 230 Title-uniform:w,Title-uniform:p,Title-uniform:s,Heading:w,Heading:p,Heading:s +melm 430 Title-uniform-see:w,Title-uniform-see:p,Title-uniform-see:s,See:w,See:p,See:s +melm 530 Title-uniform-see-also:w,Title-uniform-see-also:p,Title-uniform-see-also:s,See-also:w,See-also:p,See-also:s +melm 730$a Title-uniform-parallel:w,Title-uniform-parallel:p,Title-uniform-parallel:s,Parallel:w,Parallel:p,Parallel:s + +# Second area for uniform titles in UNIMARC? +melm 235$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s +melm 235 Title-uniform:w,Title-uniform:p,Title-uniform:s,Heading:w,Heading:p,Heading:s +melm 435 Title-uniform-see:w,Title-uniform-see:p,Title-uniform-see:s,See:w,See:p,See:s +melm 535 Title-uniform-see-also:w,Title-uniform-see-also:p,Title-uniform-see-also:s,See-also:w,See-also:p,See-also:s +melm 735$a Title-uniform-parallel:w,Title-uniform-parallel:p,Title-uniform-parallel:s,Parallel:w,Parallel:p,Parallel:s + +# Topical Term +melm 250$a Subject-heading:w,Subject-heading:p,Subject-heading:s,Subject:w,Subject:p,Heading:w,Heading:p,Heading:s +melm 250 Subject:w,Subject:p,Subject:s,Heading:w,Heading:p,Heading:s +melm 450 Subject-see:w,Subject-see:p,Subject-see:s,See:w,See:p,See:s +melm 550 Subject-see-also:w,Subject-see-also:p,Subject-see-also:s,See-also:w,See-also:p,See-also:s +melm 750$a Subject-parallel:w,Subject-parallel:p,Subject-parallel:s,Parallel:w,Parallel:p,Parallel:s + +# Geographic Name +melm 215$a Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Heading:w,Heading:p,Heading:s +melm 215 Name-geographic:w,Name-geographic:p,Name-geographic:s,Heading:w,Heading:p,Heading:s +melm 415 Name-geographic-see:w,Name-geographic-see:p,Name-geographic-see:s,See:w,See:p,See:s +melm 515 Name-geographic-see-also:w,Name-geographic-see-also:p,Name-geographic-see-also:s,See-also:w,See-also:p,See-also:s +melm 715$a Name-geographic-parallel:w,Name-geographic-parallel:p,Name-geographic-parallel:s,Parallel:w,Parallel:p,Parallel:s + +# Geographic Term - Not in UNIMARC? +#melm 155$a Term-geographic-heading:w,Term-geographic-heading:p,Term-geographic-heading:s,Term-geographic:w,Term-geographic:p,Heading:w,Heading:p,Heading:s +#melm 155 Term-geographic:w,Term-geographic:p,Term-geographic:s,Heading:w,Heading:p,Heading:s +#melm 455 Term-geographic-see:w,Term-geographic-see:p,Term-geographic-see:s,See:w,See:p,See:s +#melm 555 Term-geographic-see-also:w,Term-geographic-see-also:p,Term-geographic-see-also:s,See-also:w,See-also:p,See-also:s + +# NOTE: subdivisions management missing from Koha +# Not in UNIMARC? +# General Subdivision +# melm 180 Subject-subdivision,Heading:w,Heading:p,Heading:s +# Geographic Subdivision +# melm 181 Geographic-subdivision,Heading:w,Heading:p,Heading:s +# Chronological Subdivision +# melm 182 Chronological-subdivision,Heading:w,Heading:p,Heading:s +# Form Subdivision +# melm 185 Form-subdivision,Heading:w,Heading:p,Heading:s +melm 300$a Note +melm 301$a Note +melm 302$a Note +melm 303$a Note +melm 304$a Note +melm 305$a Note +melm 306$a Note +melm 307$a Note +melm 308$a Note +melm 310$a Note +melm 311$a Note +melm 312$a Note +melm 313$a Note +melm 314$a Note +melm 315$a Note +melm 316$a Note +melm 317$a Note +melm 318$a Note +melm 320$a Note +melm 321$a Note +melm 322$a Note +melm 323$a Note +melm 324$a Note +melm 325$a Note +melm 326$a Note +melm 327$a Note +melm 328$a Note +melm 330$a Note +melm 332$a Note +melm 333$a Note +melm 336$a Note +melm 337$a Note +melm 345$a Note diff --git a/etc/zebradb/zebra-authorities.cfg b/etc/zebradb/zebra-authorities.cfg index c9c6321afa..d828934fc7 100644 --- a/etc/zebradb/zebra-authorities.cfg +++ b/etc/zebradb/zebra-authorities.cfg @@ -13,18 +13,34 @@ modulePath: /usr/lib/idzebra-2.0/modules # Files that describe the attribute sets supported. attset: bib1.att attset: explain.att -attset:gils.att +attset: gils.att #systag sysno rank + # Specify record type +# group .recordType[ .name ]: type +# type is split into fundamental type. file-read-type . argument +# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl +# http://www.indexdata.dk/zebra/doc/grs.tkl + +# Can use -g iso2709 to batch index raw iso2709 records in a single or +# multiple files, or marcxml records that are split into separate files +# the trailing .record tells zebraidx to use record.abs iso2709.recordType:grs.marcxml.record + +# Can use -g marcxml to batch index marcxml files +# zebraidx uses record.abs because of is the root element +marcxml.recordType:grs.sgml + +# Koha uses grs.xml internally when updating a single record, no idea +# why it knows to use record.abs recordType:grs.xml + recordId: (bib1,Local-Number) # was auth1 storeKeys:1 storeData:1 - # Lock File Area lockDir: __ZEBRA_LOCK_DIR__/authorities perm.anonymous:r @@ -39,6 +55,6 @@ setTmpDir: __ZEBRA_DATA_DIR__/authorities/tmp keyTmpDir: __ZEBRA_DATA_DIR__/authorities/key # Approx. Memory usage during indexing -memMax: 200M +memMax: 50M rank:rank-1 diff --git a/etc/zebradb/zebra-biblios.cfg b/etc/zebradb/zebra-biblios.cfg index 68a7830a35..980c01a909 100644 --- a/etc/zebradb/zebra-biblios.cfg +++ b/etc/zebradb/zebra-biblios.cfg @@ -11,12 +11,29 @@ encoding: UTF-8 # Files that describe the attribute sets supported. attset: bib1.att attset: explain.att -attset:gils.att +attset: gils.att # systag sysno rank + # Specify record type +# group .recordType[ .name ]: type +# type is split into fundamental type. file-read-type . argument +# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl +# http://www.indexdata.dk/zebra/doc/grs.tkl + +# Can use -g iso2709 to batch index raw iso2709 records in a single or +# multiple files, or marcxml records that are split into separate files +# the trailing .record tells zebraidx to use record.abs iso2709.recordType:grs.marcxml.record + +# Can use -g marcxml to batch index marcxml files +# zebraidx uses record.abs because of is the root element +marcxml.recordType:grs.sgml + +# Koha uses grs.xml internally when updating a single record, no idea +# why it knows to use record.abs recordType:grs.xml + recordId: (bib1,Local-number) storeKeys:1 storeData:1 @@ -36,5 +53,5 @@ setTmpDir: __ZEBRA_DATA_DIR__/biblios/tmp keyTmpDir: __ZEBRA_DATA_DIR__/biblios/key # Approx. Memory usage during indexing -memMax: 500M +memMax: 50M rank:rank-1 diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc index 25fef87446..3b2a7fc4d6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc @@ -1,4 +1,104 @@ +

- \ No newline at end of file + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tmpl index 9ba53f543f..76203e9a5e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tmpl @@ -26,81 +26,13 @@ function searchauthority() {
- -
-
-
- - - - +
+
+
+ - -
-
- +
+
+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tmpl index 750bac5f1f..3e9cab5694 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tmpl @@ -4,11 +4,11 @@