installer: more moving of Zebra config files
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 11 Dec 2007 19:35:34 +0000 (13:35 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 17 Dec 2007 15:13:53 +0000 (09:13 -0600)
* must use record.abs
* sort-string.cfg => sort-string-utf.chr

14 files changed:
etc/zebradb/lang_defs/en/sort-string-utf.chr [new file with mode: 0644]
etc/zebradb/lang_defs/en/sort-string.chr [deleted file]
etc/zebradb/lang_defs/fr/sort-string-utf.chr [new file with mode: 0644]
etc/zebradb/lang_defs/fr/sort-string.chr [deleted file]
etc/zebradb/marc_defs/marc21/authorities.abs [deleted file]
etc/zebradb/marc_defs/marc21/authorities/record.abs [new file with mode: 0644]
etc/zebradb/marc_defs/marc21/biblios.abs [deleted file]
etc/zebradb/marc_defs/marc21/biblios/record.abs [new file with mode: 0644]
etc/zebradb/marc_defs/unimarc/authorities.abs [deleted file]
etc/zebradb/marc_defs/unimarc/authorities/record.abs [new file with mode: 0644]
etc/zebradb/marc_defs/unimarc/biblios.abs [deleted file]
etc/zebradb/marc_defs/unimarc/biblios/record.abs [new file with mode: 0644]
etc/zebradb/zebra-authorities.cfg
etc/zebradb/zebra-biblios.cfg

diff --git a/etc/zebradb/lang_defs/en/sort-string-utf.chr b/etc/zebradb/lang_defs/en/sort-string-utf.chr
new file mode 100644 (file)
index 0000000..f7320ee
--- /dev/null
@@ -0,0 +1,48 @@
+# Generic character map.
+#
+# $Id: string.chr,v 1.4 1999/09/07 07:19:21 adam Exp $
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}{a-y}üzæäøöå
+uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+# equivalent æä(ae)
+# equivalent øö(oe)
+# equivalent å(aa)
+# equivalent uü
+
+# Supplemental mappings
+
+#map (&auml;)       ä
+#map (&aelig;)      æ
+#map (&oslash;)     ø
+#map (&aring;)      å
+#map (&ouml;)       ö
+#map (&Auml;)       Ä
+#map (&Aelig;)      Æ
+#map (&Oslash;)     Ø
+#map (&Aring;)      Å
+#map (&Ouml;)       Ö
+
+#map éÉ                e
+#map á         a
+#map ó         o
+#map í         i
+
+#map (Aa)      (AA)
+
+#map (aa)        a
+map (^The\s)    @
+map (^the\s)    @
+map (^a\s)      @
+map (^A\s)      @
+map (^An\s)     @
+map (^an\s)     @
+
diff --git a/etc/zebradb/lang_defs/en/sort-string.chr b/etc/zebradb/lang_defs/en/sort-string.chr
deleted file mode 100644 (file)
index f7320ee..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# Generic character map.
-#
-# $Id: string.chr,v 1.4 1999/09/07 07:19:21 adam Exp $
-
-# Define the basic value-set. *Beware* of changing this without re-indexing
-# your databases.
-lowercase {0-9}{a-y}üzæäøöå
-uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
-
-# Breaking characters
-
-space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
-
-# Characters to be considered equivalent for searching purposes.
-
-# equivalent æä(ae)
-# equivalent øö(oe)
-# equivalent å(aa)
-# equivalent uü
-
-# Supplemental mappings
-
-#map (&auml;)       ä
-#map (&aelig;)      æ
-#map (&oslash;)     ø
-#map (&aring;)      å
-#map (&ouml;)       ö
-#map (&Auml;)       Ä
-#map (&Aelig;)      Æ
-#map (&Oslash;)     Ø
-#map (&Aring;)      Å
-#map (&Ouml;)       Ö
-
-#map éÉ                e
-#map á         a
-#map ó         o
-#map í         i
-
-#map (Aa)      (AA)
-
-#map (aa)        a
-map (^The\s)    @
-map (^the\s)    @
-map (^a\s)      @
-map (^A\s)      @
-map (^An\s)     @
-map (^an\s)     @
-
diff --git a/etc/zebradb/lang_defs/fr/sort-string-utf.chr b/etc/zebradb/lang_defs/fr/sort-string-utf.chr
new file mode 100644 (file)
index 0000000..25712a1
--- /dev/null
@@ -0,0 +1,51 @@
+# Generic character map.
+#
+
+encoding utf-8
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}aæbcdefghijklmnopqrstuvwxyzø
+uppercase {0-9}AÆBCDEFGHIJKLMNOPQRSTUVWXYZØ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-/:;<=>?@\[\\]^_`\{|}~.
+
+# Characters to be considered equivalent for searching purposes.
+equivalent æä(ae)
+equivalent øö(oe)
+equivalent å(aa)
+#equivalent uü
+equivalent y(i)
+
+# Supplemental mappings
+
+map (&auml;)       a
+map (&aelig;)      æ
+map (&oslash;)     ø
+map (&aring;)      a
+map (&ouml;)       o
+map (&Auml;)       A
+map (&Aelig;)      Æ
+map (&Oslash;)     Ø
+map (&Aring;)      A
+map (&Ouml;)       O
+
+map âàáäÂÀÂÄ           a
+map êèéëÊÈÉË           e
+map îïíÎÏ         i
+map ôöóÔÖ         o
+map ûùüÛÜÙ       u
+map ç       c
+#map y   i
+
+map (^Le\s)    @
+map (^La\s)    @
+map (^Les\s)      @
+map (^Un\s)      @
+map (^Une\s)     @
+map (^De\s)     @
+map (^Des\s)     @
+map (^L\s)     @
+map (^D\s)     @
diff --git a/etc/zebradb/lang_defs/fr/sort-string.chr b/etc/zebradb/lang_defs/fr/sort-string.chr
deleted file mode 100644 (file)
index 25712a1..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-# Generic character map.
-#
-
-encoding utf-8
-
-# Define the basic value-set. *Beware* of changing this without re-indexing
-# your databases.
-lowercase {0-9}aæbcdefghijklmnopqrstuvwxyzø
-uppercase {0-9}AÆBCDEFGHIJKLMNOPQRSTUVWXYZØ
-
-# Breaking characters
-
-space {\001-\040}!"#$%&'\()*+,-/:;<=>?@\[\\]^_`\{|}~.
-
-# Characters to be considered equivalent for searching purposes.
-equivalent æä(ae)
-equivalent øö(oe)
-equivalent å(aa)
-#equivalent uü
-equivalent y(i)
-
-# Supplemental mappings
-
-map (&auml;)       a
-map (&aelig;)      æ
-map (&oslash;)     ø
-map (&aring;)      a
-map (&ouml;)       o
-map (&Auml;)       A
-map (&Aelig;)      Æ
-map (&Oslash;)     Ø
-map (&Aring;)      A
-map (&Ouml;)       O
-
-map âàáäÂÀÂÄ           a
-map êèéëÊÈÉË           e
-map îïíÎÏ         i
-map ôöóÔÖ         o
-map ûùüÛÜÙ       u
-map ç       c
-#map y   i
-
-map (^Le\s)    @
-map (^La\s)    @
-map (^Les\s)      @
-map (^Un\s)      @
-map (^Une\s)     @
-map (^De\s)     @
-map (^Des\s)     @
-map (^L\s)     @
-map (^D\s)     @
diff --git a/etc/zebradb/marc_defs/marc21/authorities.abs b/etc/zebradb/marc_defs/marc21/authorities.abs
deleted file mode 100644 (file)
index d6b4569..0000000
+++ /dev/null
@@ -1,185 +0,0 @@
-# $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.
-
-encoding utf-8
-name authorities
-#attset auth1.att
-attset bib1.att
-esetname F @
-esetname B @
-
-marc usmarc.mar
-systag sysno rank
-xpath disable
-
-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 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
-
-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
-
-#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: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/marc21/authorities/record.abs b/etc/zebradb/marc_defs/marc21/authorities/record.abs
new file mode 100644 (file)
index 0000000..d6b4569
--- /dev/null
@@ -0,0 +1,185 @@
+# $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.
+
+encoding utf-8
+name authorities
+#attset auth1.att
+attset bib1.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+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 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
+
+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
+
+#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: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/marc21/biblios.abs b/etc/zebradb/marc_defs/marc21/biblios.abs
deleted file mode 100644 (file)
index 30f612c..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-# This is a fairly simple example of a set of MARC21 indexing rules. It
-# results in a server which provides a passable Bath level 0 and 1 service
-# (author, title, subject, keyword and exact services). Feel free to
-# elaborate on it, and if you do, please consider sharing your additions.
-# 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.
-encoding utf-8
-name marc21
-attset bib1.att
-attset gils.att
-esetname F @
-esetname B @
-
-marc usmarc.mar
-systag sysno rank
-xpath enable
-
-# pl = Published Place
-# ta = Target Audience 002/22
-# ff8-23
-# lf = Literary Form 008/33
-# bio = Biography 008/34
-# fmt = Format
-# ln = Language
-# ctype = Content type: review, catalog, encyclopedia, dictionary
-# pubdate Publication Date
-# rtype =  Record type (leader 06)
-
-all any
-# melm 000             rtype:n:range(data,06,1),Bib-level:w:range(data,07,01)
-xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)
-# example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)
-
-melm 001               Control-number
-melm 005               Date,Date/time-last-modified
-melm 007               Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
-
-melm 008               ln:n:range(data,35,3),ctype:w:range(data,24,4),Date:n:range(data,0,5),Date:s:range(data,0,5),Date:n:range(data,7,4),Date:s:range(data,7,4),Date:n:range(data,11,4),Date:s:range(data,11,4),pubdate:n:range(data,7,4),pubdate:s:range(data,7,4),dateaddeddb:n:range(data,0,5),dateaddeddb:s:range(data,0,5),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),Record-source:w:range(data,39,0)
-
-melm 010               LC-card-number,Identifier-standard
-melm 011               LC-card-number,Identifier-standard
-melm 015               BNB-card-number,BGF-number,Number-db,Number-natl-biblio,Identifier-standard
-melm 017               Number-legal-deposit,Identifier-standard
-melm 018               Identifier-standard
-melm 020$a      ISBN:w,Identifier-standard:w
-melm 020               ISBN,Identifier-standard
-melm 022$a      ISSN:w,ISBN:w
-melm 022               ISSN,Identifier-standard
-melm 023               Identifier-standard
-melm 024               Identifier-standard
-melm 025               Identifier-standard
-melm 027               Report-number,Identifier-standard
-melm 028               Number-music-publisher,Identifier-standard
-melm 030               CODEN,Identifier-standard
-melm 033               Date
-melm 034        Map-scale
-#melm 035              Local-number,Identifier-standard
-melm 037               Identifier-standard,Stock-number
-melm 040        Code-institution,Record-source
-melm 041        ln
-melm 043        Code-geographic
-#melm 046              pubdate
-melm 050$b             LC-call-number:w, LC-call-number:p, LC-call-number:s
-melm 050               LC-call-number:w, LC-call-number:p, LC-call-number:s
-melm 052               Geographic-class
-melm 060               NLM-call-number
-melm 070               NAL-call-number
-melm 080               UDC-classification
-melm 082        Dewey-classification:w,Dewey-classification:s
-melm 086        Number-govt-pub
-#melm 942$k            LC-card-number:s
-
-## KOHA SPECIFIC
-#melm 090$c            Local-number:w
-#Identifier-standard:w
-
-melm 100$9             Cross-Reference:w,Koha-Auth-Number
-melm 100$a             Author,Author:p,Author:s,Editor,Author-personal-bibliography,Author-personal-bibliography:p,Author-personal-bibliography:s
-melm 100               Author,Author-title,Author-name-personal,Name,Name-and-title,Personal-name
-melm 110$9      Koha-Auth-Number
-melm 110               Author,Author-title,Author-name-corporate,Name,Name-and-title,Corporate-name
-melm 111$9      Koha-Auth-Number
-melm 111               Author,Author-title,Author-name-corporate,Name,Name-and-title,Conference-name
-melm 130$n             Thematic-number
-melm 130$r             Music-key
-melm 130$9      Koha-Auth-Number
-melm 130               Title,Title-uniform
-
-melm 210               Title,Title-abbreviated
-melm 211               Title,Title-abbreviated
-melm 212               Title,Title-other-variant
-melm 214               Title,Title-expanded
-melm 222               Title,Title-key
-melm 240$r             Music-key
-melm 240$n             Thematic-number
-melm 240               Title:w,Title:p,Title-uniform
-melm 243$n             Thematic-number
-melm 243$r             Music-key
-melm 243               Title:w,Title:p,Title-collective
-melm 245$a             Title-cover:w,Title-cover:p,Title-cover:s,Title:w,Title:p,Title:s
-melm 245$c             Author,Author-in-order:w,Author-in-order:p,Author-in-order:s
-melm 245$9             Cross-Reference:w,Koha-Auth-Number
-melm 245               Title:w,Title:p
-melm 246               Title,Title:p,Title-abbreviated,Title-expanded,Title-former
-melm 247               Title,Title:p,Title-former,Title-other-variant,Related-periodical
-melm 260$a             pl:w,pl:p
-melm 260$b             Publisher:w,Publisher:p
-melm 260$c             Date,Date:s,Date:y
-#,pubdate,pubdate:s
-melm 260               pl
-melm 300               Extent:w,Extent:p
-melm 400$a             Name-and-title
-melm 400$t      Author-title,Name-and-title,Title,Title-series
-melm 400$9             Koha-Auth-Number
-melm 400        Author,Author-name-personal,Name,Personal-name
-melm 410               Author,Corporate-name
-melm 410$a             Name-and-title
-melm 410$t      Author-title,Title,Title-series
-melm 410$9             Koha-Auth-Number
-melm 410        Author-name-corporate,Name
-melm 411               Author,Conference-name
-melm 411$a             Name-and-title
-#melm 411$t            title,author,Author-title,Title-series
-melm 411$t      Author-title,Title-series
-#melm 411              author,Author-name-corporate,Name
-melm 411        Author-name-corporate,Name
-melm 440$a             Title-series:w,Title-series:p
-melm 440$9             Koha-Auth-Number
-melm 440               Title-series:w,Title-series:p,Title,Title-series
-melm 490$a             Title-series:w,Title-series:p
-melm 490               Title,Title-series
-melm 490$9             Koha-Auth-Number
-
-melm 502               Material-type
-melm 505               Note:w,Note:p
-melm 510               Indexed-by
-melm 520               Abstract:w,Abstract:p
-#melm 533$d            pubdate,pubdate:s
-#melm 541$d            Date-of-acquisition,Date-of-acquisition:s
-
-melm 600$a             Name-and-title,Name,Personal-name,Subject-name-personal,Subject
-melm 600$t             Name-and-title,Title,Subject
-melm 600$9      Koha-Auth-Number
-#melm 600              Name,Personal-name,Subject-heading,Subject-name-personal
-melm 600        Name,Personal-name,Subject-name-personal,Subject
-melm 610$a             Name-and-title
-melm 610$t             Name-and-title,Title
-melm 610$9      Koha-Auth-Number
-melm 610               Name,Subject,Corporate-name
-melm 611               Conference-name
-melm 611$a             Name-and-title
-melm 611$t             Name-and-title,Title
-melm 611$9      Koha-Auth-Number
-melm 611               Name,Subject
-melm 630$n             Thematic-number
-melm 630$r             Music-key
-melm 630$9      Koha-Auth-Number
-melm 630               Subject
-melm 650$9             Koha-Auth-Number        
-melm 650               Subject,Subject:p
-melm 651$9             Koha-Auth-Number        
-melm 651               Name-geographic,Subject,Subject:p
-melm 652$9             Koha-Auth-Number        
-#melm 652              subject-heading,subject-heading:p
-melm 653$9             Koha-Auth-Number        
-melm 653               Subject,Subject:p
-melm 654$9             Koha-Auth-Number        
-melm 654               Subject
-melm 655$9             Koha-Auth-Number        
-melm 655               Subject
-melm 656$9             Koha-Auth-Number        
-melm 656               Subject
-melm 657$9             Koha-Auth-Number        
-melm 657               Subject
-melm 690$9             Koha-Auth-Number        
-melm 690               Subject,Subject:p
-
-melm 700$9             Cross-Reference,Koha-Auth-Number
-melm 700$a      Author,Author:p
-melm 700$n             Thematic-number
-melm 700$r             Music-key
-#melm 700$t            author,Author-title,Name-and-title,Title,Title-uniform
-melm 700$t      Author-title,Name-and-title,Title,Title-uniform
-melm 700        Author,Author-name-corporate,Author-name-personal,Name,Editor,Personal-name
-melm 710               Author,Corporate-name
-#melm 710$t            author,Author-title,Name-and-title,Title,Title-uniform
-melm 710$t      Author-title,Name-and-title,Title,Title-uniform
-#melm 710$a            author,author:p,Name-and-title
-melm 710$a      Name-and-title
-melm 710$9             Koha-Auth-Number        
-#melm 710              author,Name
-melm 710        Author,Name
-melm 711$a             Name-and-title
-#melm 711$t            author,Author-title,Title,Title-uniform
-melm 711$t      Author-title,Title,Title-uniform
-melm 711$9             Koha-Auth-Number        
-#melm 711              author,Author-name-corporate,Name,Conference-name
-melm 711        Author-name-corporate,Name,Conference-name
-melm 730$n             Thematic-number
-melm 730$r             Music-key
-melm 730$9             Koha-Auth-Number
-melm 730               Title,Title-uniform
-melm 740               Title,Title-other-variant
-melm 773$t             Host-item
-melm 780               Title-former,Related-periodical
-melm 785               Related-periodical
-
-melm 800$a             Name-and-title
-#melm 800$t            author,Author-title,Name-and-title,Title,Title-series
-melm 800$t      Author-title,Name-and-title,Title,Title-series
-melm 800$9             Koha-Auth-Number
-melm 800        Author,Author-name-personal,Name,Personal-name
-melm 810$a             Name-and-title
-melm 810$t      Author-title,Name-and-title,Title,Title-series
-melm 810$9             Koha-Auth-Number
-melm 810        Author,Corporate-name,Author-name-corporate,Name
-melm 811$a             Name-and-title
-melm 811$9             Koha-Auth-Number
-#melm 811$t            author,Author-title,Name-and-title,Title,Title-series
-melm 811$t      Author-title,Name-and-title,Title,Title-series
-melm 811               Author,Author-name-corporate,Name,Conference-name
-melm 830$9             Koha-Auth-Number
-melm 830               Title,Title-series
-melm 840               Title,Title-series
-
-###############################
-# Koha Local-Use Biblio Indexes
-melm 999$c             Local-Number:n,Local-Number:w,Local-Number:s
-melm 999$d             biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s
-melm 942$0             totalissues:n,totalissues:s
-melm 942$2             cn-bib-source
-melm 942$6             cn-bib-sort:n,cn-bib-sort:s
-melm 942$c             itemtype:w
-melm 942$n             Suppress:w,Suppress:n
-
-# need to check bib1
-melm 942$h             cn-class
-melm 942$i             cn-item
-melm 942$k             cn-prefix
-melm 942$m             cn-suffix
-
-# Items Indexes
-melm 952$0             withdrawn:n,withdrawn:w
-melm 952$1             lost,lost:n
-melm 952$2             classification-source
-melm 952$3             materials-specified     
-melm 952$4             damaged:n,damaged:w
-melm 952$5             restricted:n,restricted:w
-melm 952$6             cn-sort:n,cn-sort:s
-melm 952$7             notforloan:n,notforloan:w
-melm 952$8             ccode
-melm 952$9             itemnumber:n,itemnumber:s
-melm 952$a             homebranch
-melm 952$b             holdingbranch
-melm 952$c             location
-
-#dateaccessioned
-melm 952$d             Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
-melm 952$e             acqsource
-melm 952$f             coded-location-qualifier
-melm 952$g             price
-#melm 952$h            
-#melm 952$i            
-melm 952$j             stack:n,stack:w
-#melm 952$k            
-melm 952$l             issues:n,issues:w,issues:s
-melm 952$m             renewals:n,renewals:w
-melm 952$n             reserves:n,reserves:w
-melm 952$o             Local-classification:w,Local-classification:p,Local-classification:s
-melm 952$p             barcode,barcode:n
-melm 952$q             onloan:n,onloan:w
-melm 952$r             datelastseen
-melm 952$s             datelastborrowed
-melm 952$t             copynumber
-melm 952$u             uri:u,url:w
-melm 952$v             replacementprice
-melm 952$w             replacementpricedate
-#melm 952$x
-melm 952$y             itype:w
-#melm 952$z
diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs
new file mode 100644 (file)
index 0000000..30f612c
--- /dev/null
@@ -0,0 +1,282 @@
+# This is a fairly simple example of a set of MARC21 indexing rules. It
+# results in a server which provides a passable Bath level 0 and 1 service
+# (author, title, subject, keyword and exact services). Feel free to
+# elaborate on it, and if you do, please consider sharing your additions.
+# 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.
+encoding utf-8
+name marc21
+attset bib1.att
+attset gils.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath enable
+
+# pl = Published Place
+# ta = Target Audience 002/22
+# ff8-23
+# lf = Literary Form 008/33
+# bio = Biography 008/34
+# fmt = Format
+# ln = Language
+# ctype = Content type: review, catalog, encyclopedia, dictionary
+# pubdate Publication Date
+# rtype =  Record type (leader 06)
+
+all any
+# melm 000             rtype:n:range(data,06,1),Bib-level:w:range(data,07,01)
+xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)
+# example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)
+
+melm 001               Control-number
+melm 005               Date,Date/time-last-modified
+melm 007               Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
+
+melm 008               ln:n:range(data,35,3),ctype:w:range(data,24,4),Date:n:range(data,0,5),Date:s:range(data,0,5),Date:n:range(data,7,4),Date:s:range(data,7,4),Date:n:range(data,11,4),Date:s:range(data,11,4),pubdate:n:range(data,7,4),pubdate:s:range(data,7,4),dateaddeddb:n:range(data,0,5),dateaddeddb:s:range(data,0,5),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),Record-source:w:range(data,39,0)
+
+melm 010               LC-card-number,Identifier-standard
+melm 011               LC-card-number,Identifier-standard
+melm 015               BNB-card-number,BGF-number,Number-db,Number-natl-biblio,Identifier-standard
+melm 017               Number-legal-deposit,Identifier-standard
+melm 018               Identifier-standard
+melm 020$a      ISBN:w,Identifier-standard:w
+melm 020               ISBN,Identifier-standard
+melm 022$a      ISSN:w,ISBN:w
+melm 022               ISSN,Identifier-standard
+melm 023               Identifier-standard
+melm 024               Identifier-standard
+melm 025               Identifier-standard
+melm 027               Report-number,Identifier-standard
+melm 028               Number-music-publisher,Identifier-standard
+melm 030               CODEN,Identifier-standard
+melm 033               Date
+melm 034        Map-scale
+#melm 035              Local-number,Identifier-standard
+melm 037               Identifier-standard,Stock-number
+melm 040        Code-institution,Record-source
+melm 041        ln
+melm 043        Code-geographic
+#melm 046              pubdate
+melm 050$b             LC-call-number:w, LC-call-number:p, LC-call-number:s
+melm 050               LC-call-number:w, LC-call-number:p, LC-call-number:s
+melm 052               Geographic-class
+melm 060               NLM-call-number
+melm 070               NAL-call-number
+melm 080               UDC-classification
+melm 082        Dewey-classification:w,Dewey-classification:s
+melm 086        Number-govt-pub
+#melm 942$k            LC-card-number:s
+
+## KOHA SPECIFIC
+#melm 090$c            Local-number:w
+#Identifier-standard:w
+
+melm 100$9             Cross-Reference:w,Koha-Auth-Number
+melm 100$a             Author,Author:p,Author:s,Editor,Author-personal-bibliography,Author-personal-bibliography:p,Author-personal-bibliography:s
+melm 100               Author,Author-title,Author-name-personal,Name,Name-and-title,Personal-name
+melm 110$9      Koha-Auth-Number
+melm 110               Author,Author-title,Author-name-corporate,Name,Name-and-title,Corporate-name
+melm 111$9      Koha-Auth-Number
+melm 111               Author,Author-title,Author-name-corporate,Name,Name-and-title,Conference-name
+melm 130$n             Thematic-number
+melm 130$r             Music-key
+melm 130$9      Koha-Auth-Number
+melm 130               Title,Title-uniform
+
+melm 210               Title,Title-abbreviated
+melm 211               Title,Title-abbreviated
+melm 212               Title,Title-other-variant
+melm 214               Title,Title-expanded
+melm 222               Title,Title-key
+melm 240$r             Music-key
+melm 240$n             Thematic-number
+melm 240               Title:w,Title:p,Title-uniform
+melm 243$n             Thematic-number
+melm 243$r             Music-key
+melm 243               Title:w,Title:p,Title-collective
+melm 245$a             Title-cover:w,Title-cover:p,Title-cover:s,Title:w,Title:p,Title:s
+melm 245$c             Author,Author-in-order:w,Author-in-order:p,Author-in-order:s
+melm 245$9             Cross-Reference:w,Koha-Auth-Number
+melm 245               Title:w,Title:p
+melm 246               Title,Title:p,Title-abbreviated,Title-expanded,Title-former
+melm 247               Title,Title:p,Title-former,Title-other-variant,Related-periodical
+melm 260$a             pl:w,pl:p
+melm 260$b             Publisher:w,Publisher:p
+melm 260$c             Date,Date:s,Date:y
+#,pubdate,pubdate:s
+melm 260               pl
+melm 300               Extent:w,Extent:p
+melm 400$a             Name-and-title
+melm 400$t      Author-title,Name-and-title,Title,Title-series
+melm 400$9             Koha-Auth-Number
+melm 400        Author,Author-name-personal,Name,Personal-name
+melm 410               Author,Corporate-name
+melm 410$a             Name-and-title
+melm 410$t      Author-title,Title,Title-series
+melm 410$9             Koha-Auth-Number
+melm 410        Author-name-corporate,Name
+melm 411               Author,Conference-name
+melm 411$a             Name-and-title
+#melm 411$t            title,author,Author-title,Title-series
+melm 411$t      Author-title,Title-series
+#melm 411              author,Author-name-corporate,Name
+melm 411        Author-name-corporate,Name
+melm 440$a             Title-series:w,Title-series:p
+melm 440$9             Koha-Auth-Number
+melm 440               Title-series:w,Title-series:p,Title,Title-series
+melm 490$a             Title-series:w,Title-series:p
+melm 490               Title,Title-series
+melm 490$9             Koha-Auth-Number
+
+melm 502               Material-type
+melm 505               Note:w,Note:p
+melm 510               Indexed-by
+melm 520               Abstract:w,Abstract:p
+#melm 533$d            pubdate,pubdate:s
+#melm 541$d            Date-of-acquisition,Date-of-acquisition:s
+
+melm 600$a             Name-and-title,Name,Personal-name,Subject-name-personal,Subject
+melm 600$t             Name-and-title,Title,Subject
+melm 600$9      Koha-Auth-Number
+#melm 600              Name,Personal-name,Subject-heading,Subject-name-personal
+melm 600        Name,Personal-name,Subject-name-personal,Subject
+melm 610$a             Name-and-title
+melm 610$t             Name-and-title,Title
+melm 610$9      Koha-Auth-Number
+melm 610               Name,Subject,Corporate-name
+melm 611               Conference-name
+melm 611$a             Name-and-title
+melm 611$t             Name-and-title,Title
+melm 611$9      Koha-Auth-Number
+melm 611               Name,Subject
+melm 630$n             Thematic-number
+melm 630$r             Music-key
+melm 630$9      Koha-Auth-Number
+melm 630               Subject
+melm 650$9             Koha-Auth-Number        
+melm 650               Subject,Subject:p
+melm 651$9             Koha-Auth-Number        
+melm 651               Name-geographic,Subject,Subject:p
+melm 652$9             Koha-Auth-Number        
+#melm 652              subject-heading,subject-heading:p
+melm 653$9             Koha-Auth-Number        
+melm 653               Subject,Subject:p
+melm 654$9             Koha-Auth-Number        
+melm 654               Subject
+melm 655$9             Koha-Auth-Number        
+melm 655               Subject
+melm 656$9             Koha-Auth-Number        
+melm 656               Subject
+melm 657$9             Koha-Auth-Number        
+melm 657               Subject
+melm 690$9             Koha-Auth-Number        
+melm 690               Subject,Subject:p
+
+melm 700$9             Cross-Reference,Koha-Auth-Number
+melm 700$a      Author,Author:p
+melm 700$n             Thematic-number
+melm 700$r             Music-key
+#melm 700$t            author,Author-title,Name-and-title,Title,Title-uniform
+melm 700$t      Author-title,Name-and-title,Title,Title-uniform
+melm 700        Author,Author-name-corporate,Author-name-personal,Name,Editor,Personal-name
+melm 710               Author,Corporate-name
+#melm 710$t            author,Author-title,Name-and-title,Title,Title-uniform
+melm 710$t      Author-title,Name-and-title,Title,Title-uniform
+#melm 710$a            author,author:p,Name-and-title
+melm 710$a      Name-and-title
+melm 710$9             Koha-Auth-Number        
+#melm 710              author,Name
+melm 710        Author,Name
+melm 711$a             Name-and-title
+#melm 711$t            author,Author-title,Title,Title-uniform
+melm 711$t      Author-title,Title,Title-uniform
+melm 711$9             Koha-Auth-Number        
+#melm 711              author,Author-name-corporate,Name,Conference-name
+melm 711        Author-name-corporate,Name,Conference-name
+melm 730$n             Thematic-number
+melm 730$r             Music-key
+melm 730$9             Koha-Auth-Number
+melm 730               Title,Title-uniform
+melm 740               Title,Title-other-variant
+melm 773$t             Host-item
+melm 780               Title-former,Related-periodical
+melm 785               Related-periodical
+
+melm 800$a             Name-and-title
+#melm 800$t            author,Author-title,Name-and-title,Title,Title-series
+melm 800$t      Author-title,Name-and-title,Title,Title-series
+melm 800$9             Koha-Auth-Number
+melm 800        Author,Author-name-personal,Name,Personal-name
+melm 810$a             Name-and-title
+melm 810$t      Author-title,Name-and-title,Title,Title-series
+melm 810$9             Koha-Auth-Number
+melm 810        Author,Corporate-name,Author-name-corporate,Name
+melm 811$a             Name-and-title
+melm 811$9             Koha-Auth-Number
+#melm 811$t            author,Author-title,Name-and-title,Title,Title-series
+melm 811$t      Author-title,Name-and-title,Title,Title-series
+melm 811               Author,Author-name-corporate,Name,Conference-name
+melm 830$9             Koha-Auth-Number
+melm 830               Title,Title-series
+melm 840               Title,Title-series
+
+###############################
+# Koha Local-Use Biblio Indexes
+melm 999$c             Local-Number:n,Local-Number:w,Local-Number:s
+melm 999$d             biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s
+melm 942$0             totalissues:n,totalissues:s
+melm 942$2             cn-bib-source
+melm 942$6             cn-bib-sort:n,cn-bib-sort:s
+melm 942$c             itemtype:w
+melm 942$n             Suppress:w,Suppress:n
+
+# need to check bib1
+melm 942$h             cn-class
+melm 942$i             cn-item
+melm 942$k             cn-prefix
+melm 942$m             cn-suffix
+
+# Items Indexes
+melm 952$0             withdrawn:n,withdrawn:w
+melm 952$1             lost,lost:n
+melm 952$2             classification-source
+melm 952$3             materials-specified     
+melm 952$4             damaged:n,damaged:w
+melm 952$5             restricted:n,restricted:w
+melm 952$6             cn-sort:n,cn-sort:s
+melm 952$7             notforloan:n,notforloan:w
+melm 952$8             ccode
+melm 952$9             itemnumber:n,itemnumber:s
+melm 952$a             homebranch
+melm 952$b             holdingbranch
+melm 952$c             location
+
+#dateaccessioned
+melm 952$d             Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
+melm 952$e             acqsource
+melm 952$f             coded-location-qualifier
+melm 952$g             price
+#melm 952$h            
+#melm 952$i            
+melm 952$j             stack:n,stack:w
+#melm 952$k            
+melm 952$l             issues:n,issues:w,issues:s
+melm 952$m             renewals:n,renewals:w
+melm 952$n             reserves:n,reserves:w
+melm 952$o             Local-classification:w,Local-classification:p,Local-classification:s
+melm 952$p             barcode,barcode:n
+melm 952$q             onloan:n,onloan:w
+melm 952$r             datelastseen
+melm 952$s             datelastborrowed
+melm 952$t             copynumber
+melm 952$u             uri:u,url:w
+melm 952$v             replacementprice
+melm 952$w             replacementpricedate
+#melm 952$x
+melm 952$y             itype:w
+#melm 952$z
diff --git a/etc/zebradb/marc_defs/unimarc/authorities.abs b/etc/zebradb/marc_defs/unimarc/authorities.abs
deleted file mode 100644 (file)
index 31a680b..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-
-# 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.
-
-encoding utf-8
-name authorities
-attset auth1.att
-esetname F @
-esetname B @
-
-marc usmarc.mar
-systag sysno rank
-xpath disable
-
-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
-
diff --git a/etc/zebradb/marc_defs/unimarc/authorities/record.abs b/etc/zebradb/marc_defs/unimarc/authorities/record.abs
new file mode 100644 (file)
index 0000000..31a680b
--- /dev/null
@@ -0,0 +1,187 @@
+
+# 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.
+
+encoding utf-8
+name authorities
+attset auth1.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+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
+
diff --git a/etc/zebradb/marc_defs/unimarc/biblios.abs b/etc/zebradb/marc_defs/unimarc/biblios.abs
deleted file mode 100644 (file)
index 004101c..0000000
+++ /dev/null
@@ -1,325 +0,0 @@
-# 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.
-
-encoding utf-8
-name marc21
-attset bib1.att
-attset gils.att
-esetname F @
-esetname B @
-
-marc usmarc.mar
-systag sysno rank
-xpath disable
-
-all any
-melm 001        Local-number,Local-number:n
-# Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
-melm 090$9      Local-number,Local-number:n
-
-melm 010$a    ISBN:w
-# wrong ISBN
-melm 010$z    ISBN:w,Identifier-standard:w
-melm 011$a    ISSN:w,Identifier-standard:w
-# cancelled ISSN
-melm 011$y    ISSN:w,Identifier-standard:w
-# wrong ISSN
-melm 011$z    ISSN:w,Identifier-standard:w
-
-melm 200$b      itype:w
-
-
-melm 100$a      date-entered-on-file:n:range(data,0,8),date-entered-on-file:s:range(data,0,8),tpubdate:s:range(data,8,1),ta:w:range(data,17,1),ta:w:range(data,18,1),ta:w:range(data,19,1),Modified-code:n:range(data,21,1),ln:s:range(data,22,3),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2)
-melm 101     ln
-melm 102$a     Country-heading
-
-#Field 105 Description
-#Illustration codes 4
-#Form of contents codes 4
-#Conference or meeting code 1
-#Festschrift indicator 1
-#Index indicator 1
-#Literature code 1
-#Biography code   1
-melm 105$a     Illustration-code:w:range(data,0,4),Content-type:w:range(data,4,1),Content-type:w:range(data,5,1),Content-type:w:range(data,6,1),Content-type:w:range(data,7,1),Conference-code:w:range(data,8,1),Festschrift-indicator:w:range(data,9,1),Index-indicator:w:range(data,10,1),Literature-Code:w:range(data,11,1),Biography-Code:w:range(data,12,1)
-
-melm 106$a     itype
-
-#Field 110 Description
-#Name of Data Element                  Number of characters                 Character Positions
-#Type of serial designator              1                                   0
-#Frequency of issue                     1                                   1
-#Regularity                             1                                   2
-#Type of material code                  1                                   3
-#Nature of contents code                3                                   4-6
-#Conference publication indicator       1                                   7
-#Title page availability codes          1                                   8
-#Index availability code                1                                   9
-#Cumulative index availability code   1                                   10
-melm 110$a     Type-Of-Serial:w:range(data,0,1),Frequency-code:w:range(data,1,1),Regularity-code:w:range(data,2,1),Content-type:w:range(data,3,1),Content-type:w:range(data,4,3),Conference-publication-Code:w:range(data,7,1),Title-Page-availability-Code:w:range(data,8,1),Index-availability-Code:w:range(data,9,1),Cumulative-Index-availability-Code:w:range(data,10,1)
-
-melm 115$a     Video-mt:w:range(data,0,1)
-
-melm 116$a     Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1),
-
-
-melm 680$b             LC-call-number:s
-melm 680               LC-call-number
-#melm 001              Identifier-standard:w
-
-melm 200$b      itype
-
-#melm 100$9            Cross-Reference !:w
-
-############ AUTHORS ##################
-# main Author
-melm 200$f             Author:w,Author:p
-# other Authors
-melm 200$g             Author:w,Author:p
-# physical Author
-melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 700$a      Author, Author-name-personal, Author:p, Author-name-personal:p, Author:s
-melm 700        Author,Author-name-personal,Author:p,Author-name-personal:p
-melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 701        Author,Author-name-personal,Author:p,Author-name-personal:p
-melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 702        Author,Author-name-personal,Author:p,Author-name-personal:p
-
-# collective Author
-melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 710    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
-melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 711    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
-
-melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 712    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
-
-############## TITLE ##################
-# main Title
-melm 200$a             Title:w,Title:p,Title:s
-# Title 2
-melm 200$c             Title:w,Title:p
-# // Title
-melm 200$d             Title:w,Title:p
-# subTitle
-melm 200$e             Title:w,Title:p
-
-melm 205        Title,Title:p
-
-melm 208    Serials,Serials:p
-melm 207    Printed-music,Printed-music:p
-
-
-
-melm 210$a    pl,pl:p
-melm 210$c    Publisher,Publisher:p
-melm 210$d    pubdate:n,pubdate:s
-
-melm 215        Extent
-
-#Series
-melm 225$a      Title-series,Title-series:p
-melm 225$d      Title-series,Title-series:p
-#SubTitle
-melm 225$e      Title-series,Title-series:p 
-#Authors
-melm 225$f      Author,Author:p,Name-and-title,Name-and-title:p
-#Part-Title
-melm 225$h      Title-series,Title-series:p 
-#Part Number
-melm 225$i      Title-series,Title-series:p 
-#Volume
-melm 225$v      Title-series,Title-series:p 
-melm 225$x      ISSN
-
-melm 230$a      Electronic-ressource
-
-########## NOTES #################
-melm 300$a    Note,Note:p
-melm 301$a    Note,Note:p
-melm 302$a    Note,Note:p
-melm 303$a    Note,Note:p
-melm 304$a    Note,Note:p
-melm 305$a    Note,Note:p
-melm 306$a    Note,Note:p
-melm 307$a    Note,Note:p
-melm 308      Note,Note:p
-melm 308$a    Note,Note:p
-melm 310$a    Note,Note:p
-melm 311$a    Note,Note:p
-melm 312$a    Note,Note:p
-melm 313$a    Note,Note:p
-melm 314$a    Note,Note:p
-melm 315$a    Note,Note:p
-melm 316$a    Note,Note:p
-melm 317$a    Note,Note:p
-melm 318$a    Note,Note:p
-melm 320$a    Note,Note:p
-melm 321$a    Note,Note:p
-melm 322$a    Note,Note:p
-melm 323$a    Note,Note:p
-melm 324$a    Note,Note:p
-melm 325$a    Note,Note:p
-melm 326$a    Note,Note:p
-melm 327$a    Note,Note:p
-melm 328      Note,Note:p
-melm 328$a    Note,Note:p
-melm 330$a    Abstract,Note:w,Abstract:p,Note:p
-melm 332$a    Note,Note:p
-melm 333$a    Note,Note:p
-melm 336$a    Note,Note:p
-melm 337$a    Note,Note:p
-melm 345$a    Note,Note:p
-
-
-############## 4XX - LINKING ##################
-# Authorities Title,Title:p
-melm 400$t    Title,Title:p
-melm 401$t    Title,Title:p
-melm 403$t    Title,Title:p,Title-Uniform,Title-Uniform:p
-melm 410$t    Title,Title:p
-melm 412$t    Title,Title:p
-melm 413$t    Title,Title:p
-melm 414$t    Title,Title:p
-melm 415$t    Title,Title:p
-melm 416$t    Title,Title:p
-melm 417$t    Title,Title:p
-melm 418$t    Title,Title:p
-melm 419$t    Title,Title:p
-melm 420$t    Title,Title:p
-melm 430$t    Title,Title:p
-melm 431$t    Title,Title:p
-melm 432$t    Title,Title:p
-melm 440$t    Title,Title:p
-melm 441$t    Title,Title:p
-melm 445$t    Title,Title:p
-melm 400$d    pubdate:n
-melm 401$d    pubdate:n
-melm 403$d    pubdate:n
-melm 410$d    pubdate:n
-melm 412$d    pubdate:n
-melm 413$d    pubdate:n
-melm 414$d    pubdate:n
-melm 415$d    pubdate:n
-melm 416$d    pubdate:n
-melm 417$d    pubdate:n
-melm 418$d    pubdate:n
-melm 419$d    pubdate:n
-melm 420$d    pubdate:n
-melm 430$d    pubdate:n
-melm 431$d    pubdate:n
-melm 432$d    pubdate:n
-melm 440$d    pubdate:n
-melm 441$d    pubdate:n
-melm 445$d    pubdate:n
-
-# Authorities Title
-melm 500$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 501$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 503$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 510$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 513$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 514$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 515$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 516$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 517$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 518$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 519$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 520$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 530$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 531$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 532$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 540$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 541$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 545$9    Koha-Auth-Number,Koha-Auth-Number:n
-
-melm 500               Title,Title:p
-melm 501               Title,Title:p
-melm 503               Title,Title:p
-melm 510               Title,Title:p
-melm 512               Title,Title:p
-melm 513               Title,Title:p
-melm 514               Title,Title:p
-melm 515               Title,Title:p
-melm 516               Title,Title:p
-melm 517               Title,Title:p
-melm 518               Title,Title:p
-melm 519               Title,Title:p
-melm 520               Title,Title:p
-melm 530               Title,Title:p
-melm 531               Title,Title:p
-melm 532               Title,Title:p
-melm 540               Title,Title:p
-melm 541               Title,Title:p
-melm 545               Title,Title:p
-
-########### SUBJECTS (6xx) ##################
-melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 603$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 607$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 630$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 631$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 632$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 633$9      Koha-Auth-Number,Koha-Auth-Number:n
-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
-melm 600               Subject,Subject:p
-melm 601$a             Corporate-name,Conference-name,Corporate-name:p,Conference-name:p
-melm 601               Subject,Subject:p
-melm 602$a    Personal-name,Personal-name:p
-melm 602    Subject,Subject:p
-melm 604               Subject,Subject:p
-melm 605               Subject,Subject:p
-melm 606               Subject,Subject:p
-melm 607       Subject,Subject:p
-melm 630               Subject,Subject:p
-melm 631               Subject,Subject:p
-melm 632               Subject,Subject:p
-melm 633               Subject,Subject:p
-melm 634               Subject,Subject:p
-melm 635               Subject,Subject:p
-melm 636               Subject,Subject:p
-melm 610               Subject,Subject:p
-melm 640        Subject,Subject:p
-melm 641        Subject,Subject:p
-melm 642        Subject,Subject:p
-melm 643        Subject,Subject:p
-melm 644        Subject,Subject:p
-melm 645        Subject,Subject:p
-melm 646        Subject,Subject:p
-
-######################
-
-melm 676$a             Dewey-classification:w,Dewey-classification:s
-
-#############"# item information (based on 995) ###############
-melm 995$a             homebranch,Host-item
-melm 995$b             homebranch,Host-item
-melm 995$c             holdingbranch,Record-Source
-melm 995$d             holdingbranch,Record-Source
-melm 995$e      location
-melm 995$f             barcode
-melm 995$j             LC-card-number:s
-melm 995$k      Call-Number,Local-Classification,lcn,Call-Number:p,Local-Classification:p,lcn:p
-melm 995$s      popularity:n,popularity:s
-melm 995$n      onloan:d,onloan:n,onloan:s
-melm 995$u      Note, Note:p
-melm  995       item   # just to index every subfield
diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs
new file mode 100644 (file)
index 0000000..004101c
--- /dev/null
@@ -0,0 +1,325 @@
+# 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.
+
+encoding utf-8
+name marc21
+attset bib1.att
+attset gils.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+all any
+melm 001        Local-number,Local-number:n
+# Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
+melm 090$9      Local-number,Local-number:n
+
+melm 010$a    ISBN:w
+# wrong ISBN
+melm 010$z    ISBN:w,Identifier-standard:w
+melm 011$a    ISSN:w,Identifier-standard:w
+# cancelled ISSN
+melm 011$y    ISSN:w,Identifier-standard:w
+# wrong ISSN
+melm 011$z    ISSN:w,Identifier-standard:w
+
+melm 200$b      itype:w
+
+
+melm 100$a      date-entered-on-file:n:range(data,0,8),date-entered-on-file:s:range(data,0,8),tpubdate:s:range(data,8,1),ta:w:range(data,17,1),ta:w:range(data,18,1),ta:w:range(data,19,1),Modified-code:n:range(data,21,1),ln:s:range(data,22,3),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2)
+melm 101     ln
+melm 102$a     Country-heading
+
+#Field 105 Description
+#Illustration codes 4
+#Form of contents codes 4
+#Conference or meeting code 1
+#Festschrift indicator 1
+#Index indicator 1
+#Literature code 1
+#Biography code   1
+melm 105$a     Illustration-code:w:range(data,0,4),Content-type:w:range(data,4,1),Content-type:w:range(data,5,1),Content-type:w:range(data,6,1),Content-type:w:range(data,7,1),Conference-code:w:range(data,8,1),Festschrift-indicator:w:range(data,9,1),Index-indicator:w:range(data,10,1),Literature-Code:w:range(data,11,1),Biography-Code:w:range(data,12,1)
+
+melm 106$a     itype
+
+#Field 110 Description
+#Name of Data Element                  Number of characters                 Character Positions
+#Type of serial designator              1                                   0
+#Frequency of issue                     1                                   1
+#Regularity                             1                                   2
+#Type of material code                  1                                   3
+#Nature of contents code                3                                   4-6
+#Conference publication indicator       1                                   7
+#Title page availability codes          1                                   8
+#Index availability code                1                                   9
+#Cumulative index availability code   1                                   10
+melm 110$a     Type-Of-Serial:w:range(data,0,1),Frequency-code:w:range(data,1,1),Regularity-code:w:range(data,2,1),Content-type:w:range(data,3,1),Content-type:w:range(data,4,3),Conference-publication-Code:w:range(data,7,1),Title-Page-availability-Code:w:range(data,8,1),Index-availability-Code:w:range(data,9,1),Cumulative-Index-availability-Code:w:range(data,10,1)
+
+melm 115$a     Video-mt:w:range(data,0,1)
+
+melm 116$a     Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1),
+
+
+melm 680$b             LC-call-number:s
+melm 680               LC-call-number
+#melm 001              Identifier-standard:w
+
+melm 200$b      itype
+
+#melm 100$9            Cross-Reference !:w
+
+############ AUTHORS ##################
+# main Author
+melm 200$f             Author:w,Author:p
+# other Authors
+melm 200$g             Author:w,Author:p
+# physical Author
+melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 700$a      Author, Author-name-personal, Author:p, Author-name-personal:p, Author:s
+melm 700        Author,Author-name-personal,Author:p,Author-name-personal:p
+melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 701        Author,Author-name-personal,Author:p,Author-name-personal:p
+melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 702        Author,Author-name-personal,Author:p,Author-name-personal:p
+
+# collective Author
+melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
+melm 710    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
+melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
+melm 711    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
+
+melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
+melm 712    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
+
+############## TITLE ##################
+# main Title
+melm 200$a             Title:w,Title:p,Title:s
+# Title 2
+melm 200$c             Title:w,Title:p
+# // Title
+melm 200$d             Title:w,Title:p
+# subTitle
+melm 200$e             Title:w,Title:p
+
+melm 205        Title,Title:p
+
+melm 208    Serials,Serials:p
+melm 207    Printed-music,Printed-music:p
+
+
+
+melm 210$a    pl,pl:p
+melm 210$c    Publisher,Publisher:p
+melm 210$d    pubdate:n,pubdate:s
+
+melm 215        Extent
+
+#Series
+melm 225$a      Title-series,Title-series:p
+melm 225$d      Title-series,Title-series:p
+#SubTitle
+melm 225$e      Title-series,Title-series:p 
+#Authors
+melm 225$f      Author,Author:p,Name-and-title,Name-and-title:p
+#Part-Title
+melm 225$h      Title-series,Title-series:p 
+#Part Number
+melm 225$i      Title-series,Title-series:p 
+#Volume
+melm 225$v      Title-series,Title-series:p 
+melm 225$x      ISSN
+
+melm 230$a      Electronic-ressource
+
+########## NOTES #################
+melm 300$a    Note,Note:p
+melm 301$a    Note,Note:p
+melm 302$a    Note,Note:p
+melm 303$a    Note,Note:p
+melm 304$a    Note,Note:p
+melm 305$a    Note,Note:p
+melm 306$a    Note,Note:p
+melm 307$a    Note,Note:p
+melm 308      Note,Note:p
+melm 308$a    Note,Note:p
+melm 310$a    Note,Note:p
+melm 311$a    Note,Note:p
+melm 312$a    Note,Note:p
+melm 313$a    Note,Note:p
+melm 314$a    Note,Note:p
+melm 315$a    Note,Note:p
+melm 316$a    Note,Note:p
+melm 317$a    Note,Note:p
+melm 318$a    Note,Note:p
+melm 320$a    Note,Note:p
+melm 321$a    Note,Note:p
+melm 322$a    Note,Note:p
+melm 323$a    Note,Note:p
+melm 324$a    Note,Note:p
+melm 325$a    Note,Note:p
+melm 326$a    Note,Note:p
+melm 327$a    Note,Note:p
+melm 328      Note,Note:p
+melm 328$a    Note,Note:p
+melm 330$a    Abstract,Note:w,Abstract:p,Note:p
+melm 332$a    Note,Note:p
+melm 333$a    Note,Note:p
+melm 336$a    Note,Note:p
+melm 337$a    Note,Note:p
+melm 345$a    Note,Note:p
+
+
+############## 4XX - LINKING ##################
+# Authorities Title,Title:p
+melm 400$t    Title,Title:p
+melm 401$t    Title,Title:p
+melm 403$t    Title,Title:p,Title-Uniform,Title-Uniform:p
+melm 410$t    Title,Title:p
+melm 412$t    Title,Title:p
+melm 413$t    Title,Title:p
+melm 414$t    Title,Title:p
+melm 415$t    Title,Title:p
+melm 416$t    Title,Title:p
+melm 417$t    Title,Title:p
+melm 418$t    Title,Title:p
+melm 419$t    Title,Title:p
+melm 420$t    Title,Title:p
+melm 430$t    Title,Title:p
+melm 431$t    Title,Title:p
+melm 432$t    Title,Title:p
+melm 440$t    Title,Title:p
+melm 441$t    Title,Title:p
+melm 445$t    Title,Title:p
+melm 400$d    pubdate:n
+melm 401$d    pubdate:n
+melm 403$d    pubdate:n
+melm 410$d    pubdate:n
+melm 412$d    pubdate:n
+melm 413$d    pubdate:n
+melm 414$d    pubdate:n
+melm 415$d    pubdate:n
+melm 416$d    pubdate:n
+melm 417$d    pubdate:n
+melm 418$d    pubdate:n
+melm 419$d    pubdate:n
+melm 420$d    pubdate:n
+melm 430$d    pubdate:n
+melm 431$d    pubdate:n
+melm 432$d    pubdate:n
+melm 440$d    pubdate:n
+melm 441$d    pubdate:n
+melm 445$d    pubdate:n
+
+# Authorities Title
+melm 500$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 501$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 503$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 510$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 513$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 514$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 515$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 516$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 517$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 518$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 519$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 520$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 530$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 531$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 532$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 540$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 541$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 545$9    Koha-Auth-Number,Koha-Auth-Number:n
+
+melm 500               Title,Title:p
+melm 501               Title,Title:p
+melm 503               Title,Title:p
+melm 510               Title,Title:p
+melm 512               Title,Title:p
+melm 513               Title,Title:p
+melm 514               Title,Title:p
+melm 515               Title,Title:p
+melm 516               Title,Title:p
+melm 517               Title,Title:p
+melm 518               Title,Title:p
+melm 519               Title,Title:p
+melm 520               Title,Title:p
+melm 530               Title,Title:p
+melm 531               Title,Title:p
+melm 532               Title,Title:p
+melm 540               Title,Title:p
+melm 541               Title,Title:p
+melm 545               Title,Title:p
+
+########### SUBJECTS (6xx) ##################
+melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 603$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 607$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 630$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 631$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 632$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 633$9      Koha-Auth-Number,Koha-Auth-Number:n
+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
+melm 600               Subject,Subject:p
+melm 601$a             Corporate-name,Conference-name,Corporate-name:p,Conference-name:p
+melm 601               Subject,Subject:p
+melm 602$a    Personal-name,Personal-name:p
+melm 602    Subject,Subject:p
+melm 604               Subject,Subject:p
+melm 605               Subject,Subject:p
+melm 606               Subject,Subject:p
+melm 607       Subject,Subject:p
+melm 630               Subject,Subject:p
+melm 631               Subject,Subject:p
+melm 632               Subject,Subject:p
+melm 633               Subject,Subject:p
+melm 634               Subject,Subject:p
+melm 635               Subject,Subject:p
+melm 636               Subject,Subject:p
+melm 610               Subject,Subject:p
+melm 640        Subject,Subject:p
+melm 641        Subject,Subject:p
+melm 642        Subject,Subject:p
+melm 643        Subject,Subject:p
+melm 644        Subject,Subject:p
+melm 645        Subject,Subject:p
+melm 646        Subject,Subject:p
+
+######################
+
+melm 676$a             Dewey-classification:w,Dewey-classification:s
+
+#############"# item information (based on 995) ###############
+melm 995$a             homebranch,Host-item
+melm 995$b             homebranch,Host-item
+melm 995$c             holdingbranch,Record-Source
+melm 995$d             holdingbranch,Record-Source
+melm 995$e      location
+melm 995$f             barcode
+melm 995$j             LC-card-number:s
+melm 995$k      Call-Number,Local-Classification,lcn,Call-Number:p,Local-Classification:p,lcn:p
+melm 995$s      popularity:n,popularity:s
+melm 995$n      onloan:d,onloan:n,onloan:s
+melm 995$u      Note, Note:p
+melm  995       item   # just to index every subfield
index 1d41a2c..c9c6321 100644 (file)
@@ -4,7 +4,7 @@
 # $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
 #
 # Where are the config files located?
-profilePath:__ZEBRA_CONF_DIR__/authorities/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
+profilePath:__ZEBRA_CONF_DIR__/authorities/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
 
 encoding: UTF-8
 # modulePath - where to look for loadable zebra modules
index c2e045d..68a7830 100644 (file)
@@ -3,7 +3,7 @@
 # $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
 #
 # Where are the config files located?
-profilePath:__ZEBRA_CONF_DIR__/biblios/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
+profilePath:__ZEBRA_CONF_DIR__/biblios/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
 # modulePath - where to look for loadable zebra modules
 modulePath: /usr/lib/idzebra-2.0/modules