Bug 14302: Remove GRS1 related files
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Feb 2017 15:54:34 +0000 (16:54 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 31 Aug 2018 11:24:19 +0000 (11:24 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
16 files changed:
debian/templates/marc21-retrieval-info-auth-grs1.xml [deleted file]
debian/templates/marc21-retrieval-info-bib-grs1.xml [deleted file]
debian/templates/normarc-retrieval-info-auth-grs1.xml [deleted file]
debian/templates/normarc-retrieval-info-bib-grs1.xml [deleted file]
debian/templates/unimarc-retrieval-info-auth-grs1.xml [deleted file]
debian/templates/unimarc-retrieval-info-bib-grs1.xml [deleted file]
debian/templates/zebra-authorities-site.cfg.in [deleted file]
debian/templates/zebra-biblios-site.cfg.in [deleted file]
etc/zebradb/marc_defs/marc21/authorities/record.abs [deleted file]
etc/zebradb/marc_defs/marc21/biblios/record.abs [deleted file]
etc/zebradb/marc_defs/normarc/biblios/record.abs [deleted file]
etc/zebradb/marc_defs/unimarc/authorities/record.abs [deleted file]
etc/zebradb/marc_defs/unimarc/biblios/record.abs [deleted file]
etc/zebradb/retrieval-info-auth-grs1.xml [deleted file]
etc/zebradb/zebra-authorities.cfg [deleted file]
etc/zebradb/zebra-biblios.cfg [deleted file]

diff --git a/debian/templates/marc21-retrieval-info-auth-grs1.xml b/debian/templates/marc21-retrieval-info-auth-grs1.xml
deleted file mode 100644 (file)
index a50260f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<retrievalinfo xmlns="http://indexdata.com/yaz">
-  <retrieval syntax="marc21" name="F"/>
-  <retrieval syntax="marc21" name="B"/>
-  <retrieval syntax="xml" name="marcxml"
-             identifier="info:srw/schema/1/marcxml-v1.1">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="dc">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="mods">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="rdfdc">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="utils">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
-    </backend>
-  </retrieval>
-</retrievalinfo>
diff --git a/debian/templates/marc21-retrieval-info-bib-grs1.xml b/debian/templates/marc21-retrieval-info-bib-grs1.xml
deleted file mode 100644 (file)
index a50260f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<retrievalinfo xmlns="http://indexdata.com/yaz">
-  <retrieval syntax="marc21" name="F"/>
-  <retrieval syntax="marc21" name="B"/>
-  <retrieval syntax="xml" name="marcxml"
-             identifier="info:srw/schema/1/marcxml-v1.1">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="dc">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="mods">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="rdfdc">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="utils">
-    <backend syntax="marc21" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
-    </backend>
-  </retrieval>
-</retrievalinfo>
diff --git a/debian/templates/normarc-retrieval-info-auth-grs1.xml b/debian/templates/normarc-retrieval-info-auth-grs1.xml
deleted file mode 100644 (file)
index 4b0742d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<retrievalinfo xmlns="http://indexdata.com/yaz">
-  <retrieval syntax="normarc" name="F"/>
-  <retrieval syntax="normarc" name="B"/>
-  <retrieval syntax="xml" name="marcxml"
-             identifier="info:srw/schema/1/marcxml-v1.1">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="dc">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="mods">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="rdfdc">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="utils">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
-    </backend>
-  </retrieval>
-</retrievalinfo>
diff --git a/debian/templates/normarc-retrieval-info-bib-grs1.xml b/debian/templates/normarc-retrieval-info-bib-grs1.xml
deleted file mode 100644 (file)
index 4b0742d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<retrievalinfo xmlns="http://indexdata.com/yaz">
-  <retrieval syntax="normarc" name="F"/>
-  <retrieval syntax="normarc" name="B"/>
-  <retrieval syntax="xml" name="marcxml"
-             identifier="info:srw/schema/1/marcxml-v1.1">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="dc">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="mods">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="rdfdc">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="utils">
-    <backend syntax="normarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
-    </backend>
-  </retrieval>
-</retrievalinfo>
diff --git a/debian/templates/unimarc-retrieval-info-auth-grs1.xml b/debian/templates/unimarc-retrieval-info-auth-grs1.xml
deleted file mode 100644 (file)
index df703a8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<retrievalinfo xmlns="http://indexdata.com/yaz">
-  <retrieval syntax="unimarc" name="F"/>
-  <retrieval syntax="unimarc" name="B"/>
-  <retrieval syntax="xml" name="marcxml"
-             identifier="info:srw/schema/1/marcxml-v1.1">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="dc">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="mods">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="rdfdc">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="utils">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
-    </backend>
-  </retrieval>
-</retrievalinfo>
diff --git a/debian/templates/unimarc-retrieval-info-bib-grs1.xml b/debian/templates/unimarc-retrieval-info-bib-grs1.xml
deleted file mode 100644 (file)
index df703a8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<retrievalinfo xmlns="http://indexdata.com/yaz">
-  <retrieval syntax="unimarc" name="F"/>
-  <retrieval syntax="unimarc" name="B"/>
-  <retrieval syntax="xml" name="marcxml"
-             identifier="info:srw/schema/1/marcxml-v1.1">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="dc">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="mods">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="rdfdc">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="utils">
-    <backend syntax="unimarc" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
-    </backend>
-  </retrieval>
-</retrievalinfo>
diff --git a/debian/templates/zebra-authorities-site.cfg.in b/debian/templates/zebra-authorities-site.cfg.in
deleted file mode 100644 (file)
index f14a223..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-
-# Simple Zebra configuration file that defines
-# a database with MARCXML records.
-# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
-#
-# Where are the config files located?
-profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__
-
-encoding: UTF-8
-# modulePath - where to look for loadable zebra modules
-modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules
-
-# Files that describe the attribute sets supported.
-attset: bib1.att
-attset: explain.att
-attset: gils.att
-
-#systag sysno rank
-
-# Specify record type
-# group   .recordType[  .name  ]:  type
-# type is split into fundamental type. file-read-type . argument
-# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
-# http://www.indexdata.dk/zebra/doc/grs.tkl
-
-# Can use -g iso2709 to batch index raw iso2709 records in a single or
-# multiple files, or marcxml records that are split into separate files
-# the trailing .record tells zebraidx to use record.abs
-iso2709.recordType:grs.marcxml.record
-
-# Can use -g marcxml to batch index marcxml files
-# zebraidx uses record.abs because of <record> is the root element
-marcxml.recordType:grs.sgml
-
-# Koha uses grs.xml internally when updating a single record, no idea
-# why it knows to use record.abs
-recordType:grs.xml
-
-recordId: (bib1,Local-Number)
-# was auth1
-storeKeys:1
-storeData:1
-
-# Lock File Area
-lockDir: /var/lock/koha/__KOHASITE__/authorities
-perm.anonymous:ar
-perm.kohauser:rw
-passwd: /etc/koha/sites/__KOHASITE__/zebra.passwd
-register: /var/lib/koha/__KOHASITE__/authorities/register:20G
-shadow: /var/lib/koha/__KOHASITE__/authorities/shadow:20G
-
-# Temp File area for result sets
-setTmpDir: /var/lib/koha/__KOHASITE__/authorities/tmp
-
-# Temp File area for index program
-keyTmpDir: /var/lib/koha/__KOHASITE__/authorities/key
-
-# Approx. Memory usage during indexing
-memMax: 50M
-rank:rank-1
-
diff --git a/debian/templates/zebra-biblios-site.cfg.in b/debian/templates/zebra-biblios-site.cfg.in
deleted file mode 100644 (file)
index 75fe59f..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-# Simple Zebra configuration file that defines
-# a database with MARCXML records.
-# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
-#
-# Where are the config files located?
-profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__
-# modulePath - where to look for loadable zebra modules
-modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules
-
-encoding: UTF-8
-# Files that describe the attribute sets supported.
-attset: bib1.att
-attset: explain.att
-attset: gils.att
-
-# systag sysno rank
-
-# Specify record type
-# group   .recordType[  .name  ]:  type
-# type is split into fundamental type. file-read-type . argument
-# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
-# http://www.indexdata.dk/zebra/doc/grs.tkl
-
-# Can use -g iso2709 to batch index raw iso2709 records in a single or
-# multiple files, or marcxml records that are split into separate files
-# the trailing .record tells zebraidx to use record.abs
-iso2709.recordType:grs.marcxml.record
-
-# Can use -g marcxml to batch index marcxml files
-# zebraidx uses record.abs because of <record> is the root element
-marcxml.recordType:grs.sgml
-
-# Koha uses grs.xml internally when updating a single record, no idea
-# why it knows to use record.abs
-recordType:grs.xml
-
-recordId: (bib1,Local-number)
-storeKeys:1
-storeData:1
-
-
-# Lock File Area
-lockDir: /var/lock/koha/__KOHASITE__/biblios
-perm.anonymous:ar
-perm.kohauser:rw
-passwd: /etc/koha/sites/__KOHASITE__/zebra.passwd
-register: /var/lib/koha/__KOHASITE__/biblios/register:20G
-shadow: /var/lib/koha/__KOHASITE__/biblios/shadow:20G
-
-# Temp File area for result sets
-setTmpDir: /var/lib/koha/__KOHASITE__/biblios/tmp
-
-# Temp File area for index program
-keyTmpDir: /var/lib/koha/__KOHASITE__/biblios/key
-
-# Approx. Memory usage during indexing
-memMax: 50M
-rank:rank-1
-truncmax: 1000000000
diff --git a/etc/zebradb/marc_defs/marc21/authorities/record.abs b/etc/zebradb/marc_defs/marc21/authorities/record.abs
deleted file mode 100644 (file)
index 0e0d451..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-# NOTE: If you are using the DOM index filter, this configuration file is
-#       *not* used.  To update the index definitions for the DOM filter,
-#       edit authority-koha-indexdefs.xml and run
-#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
-#                authority-koha-indexdefs.xml \
-#                > authority-zebra-indexdefs.xsl
-#
-# This is a fairly simple set of MARC21 Authority indexing rules
-encoding utf-8
-name authorities
-attset bib1.att
-attset gils.att
-esetname F @
-esetname B @
-
-marc marc21.mar
-systag sysno rank
-xpath enable
-
-all any
-melm 001 Local-Number,Local-Number:n,Local-Number:s
-melm 942$a authtype:w,authtype:p
-
-# Personal Name
-melm 100$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 100 Personal-name:w,Personal-name:p,Personal-name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 400 Personal-name-see-from:w,Personal-name-see-from:p,Personal-name-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
-melm 500 Personal-name-see-also-from:w,Personal-name-see-also-from:p,Personal-name-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
-
-# Corporate Name
-melm 110$a Corporate-name-heading:w,Corporate-name-heading:p,Corporate-name-heading:s,Corporate-name:w,Corporate-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 110 Corporate-name:w,Corporate-name:p,Corporate-name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 410 Corporate-name-see-from:w,Corporate-name-see-from:p,Corporate-name-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
-melm 510 Corporate-name-see-also-from:w,Corporate-name-see-also-from:p,Corporate-name-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
-
-# Meeting Name
-melm 111$a Meeting-name-heading:w,Meeting-name-heading:p,Meeting-name-heading:s,Meeting-name:w,Meeting-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 111 Meeting-name:w,Meeting-name:p,Meeting-name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 411 Meeting-name-see-from:w,Meeting-name-see-from:p,Meeting-name-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
-melm 511 Meeting-name-see-also-from:w,Meeting-name-see-also-from:p,Meeting-name-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
-
-# Uniform Title
-melm 130$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 130 Title-uniform:w,Title-uniform:p,Title-uniform:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 431 Title-uniform-see-from:w,Title-uniform-see-from:p,Title-uniform-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
-melm 531 Title-uniform-see-also-from:w,Title-uniform-see-also-from:p,Title-uniform-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
-
-# Chronological Term
-melm 148$a Chronological-term-heading:w,Chronological-term-heading:p,Chronological-term-heading:s,Chronological-term:w,Chronological-term:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s
-melm 148 Chronological-term:w,Chronological-term:p,Chronological-term:s,Heading:w,Heading:p,Heading:s
-melm 448 Chronological-term-see-from:w,Chronological-term-see-from:p,Chronological-term-see-from:s,See-from:w,See-from:p,See-from:s
-melm 548 Chronological-term-see-also-from:w,Chronological-term-see-also-from:p,Chronological-term-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s
-
-# Topical Term
-melm 150$a Subject-topical-heading:w,Subject-topical-heading:p,Subject-topical-heading:s,Subject-topical:w,Subject-topical:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 150 Subject-topical:w,Subject-topical:p,Subject-topical:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 450 Subject-topical-see-from:w,Subject-topical-see-from:p,Subject-topical-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
-melm 550 Subject-topical-see-also-from:w,Subject-topical-see-also-from:p,Subject-topical-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
-
-# Geographic Name
-melm 151$a Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 151 Name-geographic:w,Name-geographic:p,Name-geographic:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 451 Name-geographic-see-from:w,Name-geographic-see-from:p,Name-geographic-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
-melm 551 Name-geographic-see-also-from:w,Name-geographic-see-also-from:p,Name-geographic-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
-
-# Genre/Form Term
-melm 155$a Term-genre-form-heading:w,Term-genre-form-heading:p,Term-genre-form-heading:s,Term-genre-form:w,Term-genre-form:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 155 Term-genre-form:w,Term-genre-form:p,Term-genre-form:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 455 Term-genre-form-see-from:w,Term-genre-form-see-from:p,Term-genre-form-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
-melm 555 Term-genre-form-see-also-from:w,Term-genre-form-see-also-from:p,Term-genre-form-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
-
-# NOTE: subdivisions management missing from Koha
-# General Subdivision
-melm 180 General-subdivision,Heading:w,Heading:p,Heading:s
-# Geographic Subdivision
-melm 181 Geographic-subdivision,Heading:w,Heading:p,Heading:s
-# Chronological Subdivision
-melm 182 Chronological-subdivision,Heading:w,Heading:p,Heading:s
-# Form Subdivision
-melm 185 Form-subdivision,Heading:w,Heading:p,Heading:s
-
diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs
deleted file mode 100644 (file)
index 4882485..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-#
-# NOTE: If you are using the DOM index filter, this configuration file is
-#       *not* used.  To update the index definitions for the DOM filter,
-#       edit biblio-koha-indexdefs.xml and run
-#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
-#                biblio-koha-indexdefs.xml \
-#                > biblio-zebra-indexdefs.xsl
-#
-# 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 marc21.mar
-systag sysno rank
-xpath enable
-# Some notes:
-# 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)
-#
-# Date indexing in Koha 3.0 for MARC21:
-# Index                   Expected format         Notes
-# date-entered-on-file    [yymmdd]        (008/0-5, indexed in word and sort indexes)
-# copydate                [yyyy]          (260$c, indexed in word and sort indexes)
-# acqdate                 [yyyy-mm-dd]    (952$d, indexed in date,word,sort indexes)
-# pubdate                 [yyyy]          (008/7-10, indexed in year,word,num,sort indexes)
-
-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/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        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),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),ln:w:range(data,35,3),ctype:w:range(data,24,4),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        Identifier-standard
-melm 022$a      ISSN:w,Identifier-standard:w
-melm 022        Identifier-standard
-melm 023        Identifier-standard
-melm 024$a      Identifier-other
-melm 024        Identifier-standard
-melm 025        Identifier-standard
-melm 027        Report-number,Identifier-standard
-melm 028        Identifier-publisher-for-music,Identifier-standard
-melm 030        CODEN,Identifier-standard
-#melm 033       Date
-melm 034        Map-scale
-melm 035        Other-control-number
-melm 037        Identifier-standard,Stock-number
-melm 040        Code-institution,Record-source
-melm 041$a      ln,ln-audio:w
-melm 041$d      ln
-melm 041$e      ln
-melm 041$h      language-original
-melm 041$j      ln,ln-subtitle:w
-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:p,Author:s,Author-title,Author-name-personal,Name,Name-and-title,Personal-name
-melm 110$9      Koha-Auth-Number
-melm 110        Author,Author:p,Author:s,Author-title,Author-name-corporate,Name,Name-and-title,Corporate-name
-melm 111$9      Koha-Auth-Number
-melm 111        Author,Author:p,Author:s,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:p,Title-uniform
-
-melm 210        Title,Title:p,Title-abbreviated
-melm 211        Title,Title:p,Title-abbreviated
-melm 212        Title,Title:p,Title-other-variant
-melm 214        Title,Title:p,Title-expanded
-melm 222        Title,Title:p,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      copydate,copydate: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$a      Name-and-title
-melm 410$t      Author-title,Title,Title-series
-melm 410$9      Koha-Auth-Number
-melm 410        Author,Corporate-name
-#melm 410        Author-name-corporate,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,Conference-name
-#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$9      Koha-Auth-Number
-melm 490        Title,Title-series
-
-melm 500        Note:w,Note:p
-melm 502        Material-type
-melm 505$r      Author
-melm 505$t      Title
-melm 505        Note:w,Note:p
-melm 510        Indexed-by
-melm 520        Abstract:w,Abstract:p
-melm 521$a      lexile-number:w,lexile-number:p,lexile-number:n
-melm 526$c      arl,arl:n
-melm 526$d      arp,arp:n
-#melm 533$d     pubdate,pubdate:s
-#melm 541$d     Date-of-acquisition,Date-of-acquisition:s
-melm 590        Note:w,Note:p
-
-melm 600$a      Name-and-title,Name,Personal-name,Subject-name-personal,Subject,Subject:p
-melm 600$t      Name-and-title,Title,Subject,Subject:p
-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,Subject:p
-melm 610$a      Name-and-title,Subject,Subject:p
-melm 610$t      Name-and-title,Title,Subject,Subject:p
-melm 610$9      Koha-Auth-Number
-melm 610        Name,Subject,Subject:p,Corporate-name
-melm 611$a      Name-and-title,Subject,Subject:p
-melm 611$t      Name-and-title,Title,Subject,Subject:p
-melm 611$9      Koha-Auth-Number
-melm 611        Conference-name,Name,Subject,Subject:p
-melm 630$n      Thematic-number,Subject,Subject:p
-melm 630$r      Music-key,Subject,Subject:p
-melm 630$9      Koha-Auth-Number
-melm 630        Subject,Subject:p
-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$a      Index-term-uncontrolled:w,Index-term-uncontrolled:p,Subject,Subject:p
-melm 653$9      Koha-Auth-Number
-melm 653        Subject,Subject:p
-melm 654$9      Koha-Auth-Number
-melm 654        Subject,Subject:p
-melm 655$a      Index-term-genre:w,Index-term-genre:p,Subject,Subject:p
-melm 655$9      Koha-Auth-Number
-melm 655        Subject,Subject:p
-melm 656$9      Koha-Auth-Number
-melm 656        Subject,Subject:p
-melm 657$9      Koha-Auth-Number
-melm 657        Subject,Subject:p
-melm 658$a      curriculum:w,curriculum:p,Subject,Subject:p
-melm 658$b      curriculum:w,curriculum:p,Subject,Subject:p
-melm 658$c      curriculum:w,curriculum:p,Subject,Subject:p
-melm 658        Subject,Subject:p
-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:p,Author-name-personal,Name,Editor,Personal-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,Author:p,Corporate-name,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,Author:p,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:p,Title-uniform
-melm 740        Title,Title:p,Title-other-variant
-melm 751$a      Name-geographic
-melm 751$9      Koha-Auth-Number
-melm 751        Name-geographic
-melm 770$w      Record-control-number
-melm 772$w      Record-control-number
-melm 773$a      Host-item
-melm 773$9     Host-Item-Number
-melm 773$t      Host-item
-melm 773$w      Record-control-number
-melm 774$w      Record-control-number
-melm 775$w      Record-control-number
-melm 776$w      Record-control-number
-melm 777$w      Record-control-number
-melm 780$t      Title
-melm 780$w      Record-control-number
-melm 780        Title,Title:p,Title-former,Related-periodical
-melm 785$w      Record-control-number
-melm 785        Title,Title:p,Title-later,Related-periodical
-melm 787$w      Record-control-number
-
-melm 800$a      Name-and-title,Title-series:w,Title-series:p
-#melm 800$t     author,Author-title,Name-and-title,Title,Title-series
-melm 800$t      Author-title,Name-and-title,Title,Title-series:w,Title-series:p
-melm 800$9      Koha-Auth-Number
-melm 800$w      Record-control-number
-melm 800        Author,Author-name-personal,Name,Personal-name
-melm 810$a      Name-and-title,Title-series:w,Title-series:p
-melm 810$t      Author-title,Name-and-title,Title,Title-series:w,Title-series:p
-melm 810$w      Record-control-number
-melm 810$9      Koha-Auth-Number
-melm 810        Author,Corporate-name,Author-name-corporate,Name
-melm 811$a      Name-and-title,Title-series:w,Title-series:p
-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:w,Title-series:p
-melm 811$w      Record-control-number
-melm 811        Author,Author-name-corporate,Name,Conference-name
-melm 830$w      Record-control-number
-melm 830$9      Koha-Auth-Number
-melm 830        Title,Title-series:w,Title-series:p
-melm 840        Title,Title-series:w,Title-series:p
-
-###############################
-# 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,itemtype:p,itype:w,itype:p
-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:w,ccode:p
-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      Number-local-acquisition
-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
-melm 952$v      replacementprice
-melm 952$w      replacementpricedate
-#melm 952$x
-melm 952$y      itype:w,itype:p
-melm 952$z      Note:w,Note:p
diff --git a/etc/zebradb/marc_defs/normarc/biblios/record.abs b/etc/zebradb/marc_defs/normarc/biblios/record.abs
deleted file mode 100644 (file)
index 76ec04f..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-# This is an attemptat creating inedxing rules for MARC records in the
-# Norwegian format NORMARC. The format is documented here (in Norwegian):
-# http://www.nb.no/fag/kompetansesenter/kunnskapsorganisering/dnk/normarc
-#
-# This file was created by Magnus Enger Libriotech http://libriotech.no/
-#
-# ABBREVIATIONS
-#
-# NiN = Not in Normarc (these will be removed at a later date)
-#
-# NOTES
-#
-# There is a conflict between the practices of Koha and the definition of
-# NORMARC, where $9 is used for Koha-Auth-Number by Koha, and to denote
-# language by NORMARC. This concerns these fields:
-# 650, 651, 652, 653, 655, 656
-# For the time being, these are still indexed as Koha-Auth-Number
-#
-# TODO
-#
-# Add NORMARC-specific fields: 019, 531, 532, 539, 571, 572, 573, 574, 640
-# Consider fields where NORMARC and MARC21 differ complettely: 652, 658, more?
-# Consider the fields 09X, 59X, 69X, 79X, 99X
-# Consider whether 246 and 510 are equvalent in NORMARC and 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 normarc.mar
-systag sysno rank
-xpath enable
-# Some notes:
-# 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)
-#
-# Date indexing in Koha 3.0 for MARC21:
-# Index                   Expected format         Notes
-# date-entered-on-file    [yymmdd]        (008/0-5, indexed in word and sort indexes)
-# copydate                [yyyy]          (260$c, indexed in word and sort indexes)
-# acqdate                 [yyyy-mm-dd]    (952$d, indexed in date,word,sort indexes)
-# pubdate                 [yyyy]          (008/7-10, indexed in year,word,num,sort indexes)
-
-all any
-
-# TODO
-# 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
-# NiN melm 005        Date/time-last-modified
-
-# TODO
-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)
-
-# TODO
-melm 008        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),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),ln:n:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
-
-melm 010        LC-card-number,Identifier-standard
-# NiN melm 011        LC-card-number,Identifier-standard
-melm 015        BNB-card-number,BGF-number,Number-db,Number-natl-biblio,Identifier-standard
-# NiN melm 017        Number-legal-deposit,Identifier-standard
-# NiN 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
-# NiN melm 023        Identifier-standard
-melm 024        Identifier-standard
-melm 025        Identifier-standard
-melm 027        Report-number,Identifier-standard
-melm 028        Identifier-publisher-for-music,Identifier-standard
-melm 030        CODEN,Identifier-standard
-#melm 033       Date
-# NiN melm 034        Map-scale
-#melm 035       Local-number,Identifier-standard
-# NiN melm 037        Identifier-standard,Stock-number
-melm 040        Code-institution,Record-source
-melm 041        ln
-melm 043        Code-geographic
-#melm 046       pubdate
-# NiN melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
-# NiN melm 050        LC-call-number:w,LC-call-number:p,LC-call-number:s
-# NiN melm 052        Geographic-class
-melm 060        NLM-call-number
-# NiN melm 070        NAL-call-number
-melm 080        UDC-classification
-melm 082        Dewey-classification:w,Dewey-classification:s
-# NiN 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$i      Thematic-number
-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
-# NiN melm 211        Title,Title-abbreviated
-# NiN melm 212        Title,Title-other-variant
-# NiN melm 214        Title,Title-expanded
-melm 222        Title,Title-key
-melm 240$i      Thematic-number
-melm 240$r      Music-key
-melm 240$n      Thematic-number
-melm 240        Title:w,Title:p,Title-uniform
-# NiN melm 243$n      Thematic-number
-# NiN melm 243$r      Music-key
-# NiN 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
-# NiN 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      copydate,copydate:s
-melm 260        pl
-melm 300        Extent:w,Extent:p
-# NiN melm 400$a      Name-and-title
-# NiN melm 400$t      Author-title,Name-and-title,Title,Title-series
-# NiN melm 400$9      Koha-Auth-Number
-# NiN melm 400        Author,Author-name-personal,Name,Personal-name
-# NiN melm 410        Author,Corporate-name
-# NiN melm 410$a      Name-and-title
-# NiN melm 410$t      Author-title,Title,Title-series
-# NiN melm 410$9      Koha-Auth-Number
-# NiN melm 410        Author-name-corporate,Name
-# NiN melm 411        Author,Conference-name
-# NiN melm 411$a      Name-and-title
-# NiN #melm 411$t     title,author,Author-title,Title-series
-# NiN melm 411$t      Author-title,Title-series
-# NiN #melm 411       author,Author-name-corporate,Name
-# NiN 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
-# NiN melm 505$r      Author
-# NiN melm 505$t      Title
-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,Subject:p
-melm 600$t      Name-and-title,Title,Subject,Subject:p
-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,Subject:p
-melm 610$a      Name-and-title,Subject,Subject:p
-melm 610$t      Name-and-title,Title,Subject,Subject:p
-melm 610$9      Koha-Auth-Number
-melm 610        Name,Subject,Corporate-name,Subject,Subject:p
-melm 611        Conference-name,Subject,Subject:p
-melm 611$a      Name-and-title,Subject,Subject:p
-melm 611$t      Name-and-title,Title,Subject,Subject:p
-melm 611$9      Koha-Auth-Number
-melm 611        Name,Subject,Subject:p
-melm 630$i      Thematic-number,Subject,Subject:p
-melm 630$n      Thematic-number,Subject,Subject:p
-melm 630$r      Music-key,Subject,Subject:p
-melm 630$9      Koha-Auth-Number
-melm 630        Subject,Subject:p
-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,Subject:p
-melm 655$9      Koha-Auth-Number
-melm 655        Subject,Subject:p
-melm 656$9      Koha-Auth-Number
-melm 656        Subject,Subject:p
-melm 657$9      Koha-Auth-Number
-melm 657        Subject,Subject:p
-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$i      Thematic-number
-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$i      Thematic-number
-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$i      Thematic-number
-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$a      Host-item
-melm 773$9         Host-Item-Number
-melm 773$t      Host-item
-melm 773$w      Record-control-number
-melm 780$t      Title
-melm 780        Title,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
-# NiN 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
-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/record.abs b/etc/zebradb/marc_defs/unimarc/authorities/record.abs
deleted file mode 100644 (file)
index b2a1559..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-#
-# NOTE: If you are using the DOM index filter, this configuration file is
-#       *not* used.  To update the index definitions for the DOM filter,
-#       edit authority-koha-indexdefs.xml and run
-#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
-#                authority-koha-indexdefs.xml \
-#                > authority-zebra-indexdefs.xsl
-#
-# This is a fairly simple set of UNIMARC Authority indexing rules
-encoding utf-8
-name authorities
-attset bib1.att
-attset gils.att
-esetname F @
-esetname B @
-
-marc unimarc.mar
-systag sysno rank
-xpath enable
-
-all any
-melm 001 Local-Number,Local-Number:n,Local-Number:s
-#FIXME check if 942 is used
-melm 942$a authtype
-melm 152$b authtype:w,authtype:p
-
-#FIXME index some coded fields and leader positions?
-#FIXME why only $a indexed for some 7XX and not for others (710, 715, 716, 720)?
-#FIXME why 250/260/280 indexed as Subject-heading, Place-heading and Form-heading (not only 250/260/280$a) ?
-
-# Personal Name
-melm 200$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 200 Personal-name:w,Personal-name:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 400 Personal-name-see:w,Personal-name-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 500 Personal-name-see-also:w,Personal-name-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 700$a Personal-name-parallel:w,Personal-name-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Corporate Name and conference Name
-# with GRS-1, no way to make the difference
-# with DOM, possible
-melm 210$a Corporate-name-heading:w,Corporate-name-heading:p,Corporate-name-heading:s,Corporate-name:w,Corporate-name:p,Conference-name-heading:w,Conference-name-heading:p,Conference-name-heading:s,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 210 Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 410 Corporate-name-see:w,Corporate-name-see:p,Conference-name-see:w,Conference-name-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 510 Corporate-name-see-also:w,Corporate-name-see-also:p,Conference-name-see-also:w,Conference-name-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 710 Corporate-name-parallel:w,Corporate-name-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Geographic Name
-# FIXME : what is Term-geographic?
-melm 215$a Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Term-geographic-heading:w,Term-geographic-heading:p,Term-geographic-heading:s,Term-geographic:w,Term-geographic:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 215 Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Term-geographic:w,Term-geographic:p,Term-geographic:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 415 Name-geographic-see:w,Name-geographic-see:p,Term-geographic-see:w,Term-geographic-see:p,Term-geographic-see:s,See:w,See:p,See:s,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 515 Name-geographic-see-also:w,Name-geographic-see-also:p,Term-geographic-see-also:w,Term-geographic-see-also:p,Term-geographic-see-also:s,See-also:w,See-also:p,See-also:s,Match:w,Match:p
-melm 715 Name-geographic-parallel:w,Name-geographic-parallel:p,Term-geographic-parallel:w,Term-geographic-parallel:p,Term-geographic-parallel:s,Parallel:w,Parallel:p,Parallel:s,Match:w,Match:p
-
-# Trademark
-melm 216$a Trademark-heading:w,Trademark-heading:p,Trademark-heading:s,Trademark:w,Trademark:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 216 Trademark:w,Trademark:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 416 Trademark-see:w,Trademark-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 516 Trademark-see-also:w,Trademark-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 716 Trademark-parallel:w,Trademark-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Family Name
-melm 220$a Name-heading:w,Name-heading:p,Name-heading:s,Name:w,Name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 220 Name:w,Name:p,Name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 420 Name-see:w,Name-see:p,Name-see:s,See:w,See:p,See:s,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 520 Name-see-also:w,Name-see-also:p,Name-see-also:s,See-also:w,See-also:p,See-also:s,Match:w,Match:p
-melm 720 Name-parallel:w,Name-parallel:p,Name-parallel:s,Parallel:w,Parallel:p,Parallel:s,Match:w,Match:p
-
-# Uniform Title
-melm 230$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 230 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 430 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 530 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 730$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Collective Uniform Title
-melm 235$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 235 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 435 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 535 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 735$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Name and Title
-melm 240$a Name-Title-heading:w,Name-Title-heading:p,Name-Title-heading:s,Name-Title:w,Name-Title:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 240 Name-Title:w,Name-Title:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 440 Name-Title-see:w,Name-Title-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 540 Name-Title-see-also:w,Name-Title-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 740$a Name-Title-parallel:w,Name-Title-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Name and Collective Title
-# FIXME maybe use Name-Title index?
-melm 245$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 245 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 445 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 545 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 745$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Topical Term
-melm 250$a Subject-heading:w,Subject-heading:p,Subject-heading:s,Subject:w,Subject:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 250 Subject:w,Subject:p,Heading:w,Heading:p,Subject-heading:w,Subject-heading:p,Subject-heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 450 Subject-see:w,Subject-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 550 Subject-see-also:w,Subject-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 750$a Subject-parallel:w,Subject-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Place Access
-melm 260$a Place-heading:w,Place-heading:p,Place-heading:s,Place:w,Place:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p
-melm 260 Place:w,Place:p,Heading:w,Heading:p,Place-heading:w,Place-heading:p,Place-heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 460 Place-see:w,Place-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 560 Place-see-also:w,Place-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 760$a Place-parallel:w,Place-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Form Genre
-melm 280$a Form-heading:w,Form-heading:p,Form-heading:s,Form:w,Form:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 280 Form:w,Form:p,Heading:w,Heading:p,Form-heading:w,Form-heading:p,Form-heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 480 Form-see:w,Form-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 580 Form-see-also:w,Form-see-also:p,See-also:w,See-also:p,Match:w,Match:p
-melm 780$a Form-parallel:w,Form-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-
-# FIXME: manage subdivisions ($j,$x,$y,$z)
-# General Subdivision
-# Subject-subdivision,Heading:w,Heading:p,Heading:s
-# Geographic Subdivision
-# Geographic-subdivision,Heading:w,Heading:p,Heading:s
-# Chronological Subdivision
-# Chronological-subdivision,Heading:w,Heading:p,Heading:s
-# Form Subdivision
-# Form-subdivision,Heading:w,Heading:p,Heading:s
-
-# 300 Information note
-melm 300$a    Note:w,Note:p
-# 305 "See also" reference note
-melm 305$a    Note:w,Note:p
-# 310 "See" reference note
-melm 310$a    Note:w,Note:p
-# 320 General explanatory reference note
-melm 320$a    Note:w,Note:p
-# 330 General scope note
-melm 330$a    Note:w,Note:p
-# 340 Biography and activity note
-melm 340$a    Note:w,Note:p
-# 356 Geographical note
-melm 356$a    Note:w,Note:p
-
-#FIXME Notes not defined in format. Keeping them for the moment
-melm 301$a    Note
-melm 302$a    Note
-melm 303$a    Note
-melm 304$a    Note
-melm 306$a    Note
-melm 307$a    Note
-melm 308$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 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 332$a    Note
-melm 333$a    Note
-melm 336$a    Note
-melm 337$a    Note
-melm 345$a    Note
\ No newline at end of file
diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs
deleted file mode 100644 (file)
index 6ead8f4..0000000
+++ /dev/null
@@ -1,572 +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 unimarc.mar
-systag sysno rank
-xpath disable
-
-all any
-############ IDENTIFICATION NUMBERS ##################
-melm 001        Local-number,Local-number:n
-# Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
-melm 009      Identifier-standard:w,Identifier-standard:n
-melm 090$9      Local-number,Local-number:n
-melm 099$c      date-entered-on-file:s,date-entered-on-file:n,date-entered-on-file:y,Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
-melm 099$d      Date/time-last-modified:s,Date/time-last-modified:n,Date/time-last-modified:y
-melm 099$t      ccode:w
-
-# ISBN
-melm 010$a    ISBN:w
-# wrong ISBN
-melm 010$z    ISBN:w,Identifier-standard:w
-# ISSN
-melm 011$a    ISSN:w,Identifier-standard:w
-# cancelled ISSN
-melm 011$y    ISSN:w,Identifier-standard:w
-# wrong ISSN
-melm 011$z    ISSN:w,Identifier-standard:w
-# L-ISSN
-melm 011$f    Identifier-standard:w
-melm 011$g    Identifier-standard:w
-# Fingerprint (ancient books)
-melm 012$a    Identifier-standard:w
-# ISMN
-melm 013$a    Identifier-standard:w
-melm 013$z    Identifier-standard:w
-# Article identifier
-melm 014$a    Identifier-standard:w
-melm 014$z    Identifier-standard:w
-# ISRN
-melm 015$a    Identifier-standard:w
-melm 015$z    Identifier-standard:w
-# ISRC
-melm 016$a    Identifier-standard:w
-melm 016$z    Identifier-standard:w
-# Other identifiers (DOI...)
-melm 017$a    Identifier-standard:w
-melm 017$z    Identifier-standard:w
-# National bibliography
-# uncomment to index
-# melm 020$a    Identifier-standard:w
-# melm 020$z    Identifier-standard:w
-# Legal deposit
-# uncomment to index
-# melm 021$a    Identifier-standard:w
-# melm 021$z    Identifier-standard:w
-# CODEN
-melm 040$a    Identifier-standard:w
-melm 040$z    Identifier-standard:w
-# Publisher's number (for music)
-melm 071$a    Identifier-publisher-for-music:w,Identifier-standard:w
-melm 071$z    Identifier-publisher-for-music:w,Identifier-standard:w
-melm 071$b         Publisher,Publisher:p
-# UPC
-melm 072$a     Identifier-standard:w
-melm 072$z     Identifier-standard:w
-# EAN
-melm 073$a         EAN:w,Identifier-standard:w
-melm 073$z         EAN:w,Identifier-standard:w
-
-############ ITEM TYPE ##################
-# FIXME index 200$b only in Material-type ?
-# FIXME in standard installations, 200$b should probably NOT be indexed
-melm 200$b      itemtype:w,itemtype:p,itype:w,itype:p,Material-type:w,Material-type:p
-melm 995$r      itemtype:w,itemtype:p,itype:w,itype:p
-
-############ CODED INFORMATIONS ##################
-# Field 100 Description
-# Name of Data Element                  Number of characters    Character Positions
-# Date Entered on File (Mandatory)      8                       0-7
-# Type of date                          1                       8
-# Date 1                                4                       9-12
-# Date 2                                4                       13-16
-# Target audience                       3                       17-19
-# Government Publication Code           1                       20
-# Modified Record Code                  1                       21
-# Language of cataloguing (mandatory)   3                       22-24    do not index in ln
-# Translitteration code                 1                       25
-# Character Set (Mandatory)             4                       26-29
-# additional Character Set              4                       28-33
-# Script of title                       2                       34-35
-melm 100$a     tpubdate:s:range(data,8,1),pubdate:n:range(data,9,4),pubdate:y:range(data,9,4),pubdate:s:range(data,9,4),pubdate:n:range(data,13,4),pubdate:y:range(data,13,4),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),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2)
-melm 101$a     ln
-melm 101$c     language-original
-melm 102$a     Country-publication
-
-# Field 105 Description
-# Name of Data Element                  Number of characters    Character Positions
-# Illustration codes                    4                       0-3
-# Form of contents codes                4                       4-7
-# Conference or meeting code            1                       8
-# Festschrift indicator                 1                       9
-# Index indicator                       1                       10
-# Literature code                       1                       11
-# Biography code                        1                       12
-melm 105$a     ff8-18-21:w:range(data,0,1),ff8-18-21:w:range(data,1,1),ff8-18-21:w:range(data,2,1),ff8-18-21:w:range(data,3,1),ctype:w:range(data,4,1),ctype:w:range(data,5,1),ctype:w:range(data,6,1),ctype:w:range(data,7,1),ff8-29:w:range(data,8,1),ff8-30:w:range(data,9,1),ff8-31:w:range(data,10,1),lf:w:range(data,11,1),bio:w:range(data,12,1)
-
-melm 106$a     ff8-23:w,ff8-23:p
-
-# 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     ff8-21:w:range(data,0,1),ff8-18:w:range(data,1,1),ff8-19:w:range(data,2,1),ctype:w:range(data,3,1),ctype:w:range(data,4,3),ff8-29:w:range(data,7,1),Title-page-availability:w:range(data,8,1),ff8-31:w:range(data,9,1),Cumulative-index-availability: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)
-
-############ AUTHORS ##################
-# main Author
-melm 200$f             Author:w,Author:p
-# other Authors
-melm 200$g             Author:w,Author:p
-# physical Author
-melm 700$3      Identifier-standard:w
-melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 700$a      Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s
-melm 700        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
-melm 701$3      Identifier-standard:w
-melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 701        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
-melm 702$3      Identifier-standard:w
-melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 702        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
-
-# collective Author
-melm 710$3      Identifier-standard:w
-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$3      Identifier-standard:w
-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$3      Identifier-standard:w
-melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 712    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
-
-# trademark Author : 716
-melm 716$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 716    Author:w,Author:p
-
-# family Author : 72X
-melm 720$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 720    Author:w,Author:p
-melm 721$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 721    Author:w,Author:p
-melm 722$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 722    Author:w,Author:p
-
-# name-responsabily Author
-melm 730$9        Koha-Auth-Number,Koha-Auth-Number:n
-melm 730    Author:w,Author:p
-
-# 740-742 = uniform and conventional headings for legal and religious texts. Use not recommended in France (503 used instead, see http://multimedia.bnf.fr/unimarcb_trad/B7XX-6-2011.pdf )
-
-############## TITLE ##################
-# main Title
-# Keep Title-cover (used for in query weighting algorithm)
-melm 200$a             Title:w,Title:p,Title:s,Title-cover:w,Title-cover:p,Title-cover:s
-# Title from an other author
-melm 200$c             Title:w,Title:p
-# Parallel title
-melm 200$d             Title:w,Title:p
-# subtitle
-melm 200$e             Title:w,Title:p,Title-cover:w,Title-cover:p
-# volume : do not index
-# melm 200$h           Title:w,Title:p
-# part title
-melm 200$i             Title:w,Title:p,Title-cover:w,Title-cover:p
-
-# edition statement
-melm 205        Title,Title:p
-
-########## MATERIAL SPECIFIC AREA #################
-# TODO 206
-# 207 do not index
-# 208
-melm 208$a    Material-type:w,Material-type:p
-melm 208$d    Material-type:w,Material-type:p
-# Uncomment to index this field
-# melm 230$a  Electronic-ressource
-
-########## PUBLISHER #################
-#melm 210$a    pl,pl:p
-melm 210$c    Publisher,Publisher:p
-melm 210$d    pubdate:n,pubdate:y
-
-########## DESCRIPTION #################
-# Uncomment to index this field
-# melm 215        Extent
-
-########## SERIES #################
-melm 225$a      Title-series,Title-series:p
-melm 225$d      Title-series,Title-series:p
-#SubTit
-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
-
-########## NOTES #################
-# General Note
-melm 300$a    Note,Note:p
-# Notes Pertaining to Identification Numbers
-melm 301$a    Note,Note:p
-# Notes Pertaining to Coded Information (languages...)
-melm 302$a    Note,Note:p
-# Notes Pertaining to Descriptive Information
-melm 303$a    Note,Note:p
-# Notes Pertaining to Title and Statement of Responsibility
-melm 304$a    Note,Note:p,Title:w,Title:p
-# Notes Pertaining to Edition and Bibliographic History
-melm 305$a    Note,Note:p
-# Notes Pertaining to Publication, Distribution, etc.
-melm 306$a    Note,Note:p
-# Notes Pertaining to Physical Description
-melm 307$a    Note,Note:p
-# Notes Pertaining to Series
-melm 308      Note,Note:p
-# Notes Pertaining to Binding and Availability
-melm 310$a    Note,Note:p
-# Notes Pertaining to Linking Fields
-melm 311$a    Note,Note:p
-# Notes Pertaining to Related Titles
-melm 312$a    Note,Note:p
-# Notes Pertaining to Subject Access
-melm 313$a    Note,Note:p
-# Notes Pertaining to Intellectual Responsibility (in Sudoc catalogue, may contains the 4th, 5th etc. authors)
-melm 314$a    Note,Note:p,Author:w,Author:p
-# Notes Pertaining to Material (or Type of Publication) Specific Information
-melm 315$a    Note,Note:p
-# Note Relating to the Copy in Hand (ancient books)
-# Do not index $u,$5
-melm 316$a    Note,Note:p
-# Provenance Note (ancient books)
-# Do not index $u,$5
-melm 317$a    Note,Note:p
-# Action Note
-# Do not index this note (useless for the public)
-# melm 318    Note,Note:p
-# Internal Bibliographies/Indexes Note
-melm 320$a    Note,Note:p
-# External Indexes/Abstracts/References Note
-melm 321$a    Note,Note:p
-# Credits Note (Projected and Video Material and Sound Recordings)
-melm 322$a    Note,Note:p
-# Cast Note (Projected and Video Material and Sound Recordings)
-melm 323$a    Note,Note:p
-# Facsimile Note
-melm 324$a    Note,Note:p
-# Reproduction Note
-melm 325$a    Note,Note:p
-# Frequency Statement Note (Serials)
-melm 326$a    Note,Note:p
-# Contents Note
-melm 327$a    Note,Note:p,Title:w,Title:p
-melm 327$b    Note,Note:p,Title:w,Title:p
-melm 327$c    Note,Note:p,Title:w,Title:p
-melm 327$d    Note,Note:p,Title:w,Title:p
-melm 327$e    Note,Note:p,Title:w,Title:p
-melm 327$f    Note,Note:p,Title:w,Title:p
-melm 327$g    Note,Note:p,Title:w,Title:p
-melm 327$h    Note,Note:p,Title:w,Title:p
-melm 327$i    Note,Note:p,Title:w,Title:p
-# Dissertation note
-# Do not index $z ("Commercial edition : ")
-melm 328$a    Note,Note:p,Dissertation-information:w,Dissertation-information:p
-melm 328$b    Note,Note:p,Dissertation-information:w,Dissertation-information:p
-melm 328$c    Note,Note:p,Dissertation-information:w,Dissertation-information:p
-melm 328$d    Note,Note:p,Dissertation-information:w,Dissertation-information:p
-melm 328$e    Note,Note:p,Dissertation-information:w,Dissertation-information:p
-melm 328$t    Note,Note:p,Dissertation-information:w,Dissertation-information:p,Title:w,Title:p
-# Summary or Abstract
-melm 330$a    Abstract:w,Note:w,Abstract:p,Note:p
-# Preferred Citation of Described Materials
-melm 332$a    Note,Note:p
-# Users/Intended Audience Note
-melm 333$a    Note,Note:p
-# Awards note
-# Do not index $u,$z
-melm 334$a    Note,Note:p
-melm 334$b    Note,Note:p
-melm 334$c    Note,Note:p
-melm 334$d    Note,Note:p
-# Type of electronic ressource note
-melm 336$a    Note,Note:p
-# System requirements note
-melm 337$a    Note,Note:p
-# Acquisition Information Note
-melm 345$a    Note,Note:p
-# Table of contents note (Used in french libraries)
-# Do not index $u,v,p
-# Uncomment to index as note and title
-# melm 359$a    Note,Note:p,Title:w,Title:p
-# melm 359$b    Note,Note:p,Title:w,Title:p
-# melm 359$c    Note,Note:p,Title:w,Title:p
-# melm 359$d    Note,Note:p,Title:w,Title:p
-# melm 359$e    Note,Note:p,Title:w,Title:p
-# melm 359$f    Note,Note:p,Title:w,Title:p
-# melm 359$g    Note,Note:p,Title:w,Title:p
-# melm 359$h    Note,Note:p,Title:w,Title:p
-# melm 359$i    Note,Note:p,Title:w,Title:p
-
-############## 4XX - LINKING ##################
-# All 4XX indexed as Title, except for 410
-melm 410$t    Title-series,Title-series:p
-melm 411$t    Title-series,Title-series:p
-melm 412$t    Title,Title:p
-melm 413$t    Title,Title:p
-melm 421$t    Title,Title:p
-melm 422$t    Title,Title:p
-melm 423$t    Title,Title:p
-melm 424$t    Title,Title:p
-melm 425$t    Title,Title:p
-melm 430$t    Title,Title:p
-melm 431$t    Title,Title:p
-melm 432$t    Title,Title:p
-melm 433$t    Title,Title:p
-melm 434$t    Title,Title:p
-melm 435$t    Title,Title:p
-melm 436$t    Title,Title:p
-melm 437$t    Title,Title:p
-melm 440$t    Title,Title:p
-melm 441$t    Title,Title:p
-melm 442$t    Title,Title:p
-melm 443$t    Title,Title:p
-melm 444$t    Title,Title:p
-melm 445$t    Title,Title:p
-melm 446$t    Title,Title:p
-melm 447$t    Title,Title:p
-melm 448$t    Title,Title:p
-melm 451$t    Title,Title:p
-melm 452$t    Title,Title:p
-melm 453$t    Title,Title:p
-melm 454$t    Title,Title:p
-melm 455$t    Title,Title:p
-melm 456$t    Title,Title:p
-# FIXME Warning : field used by Koha for analytics, but also in Sudoc network
-melm 461$t    Title,Title:p,Host-item:w,Host-item:p
-melm 462$t    Title,Title:p
-melm 463$t    Title,Title:p
-# FIXME Warning : field used by Koha for analytics, but also in Sudoc network
-melm 464$t    Title,Title:p,Host-item:w,Host-item:p
-melm 470$t    Title,Title:p
-melm 481$t    Title,Title:p
-melm 482$t    Title,Title:p
-melm 488$t    Title,Title:p
-
-# Linking ids (Koha analytics)
-# FIXME Warning : field used by Koha for analytics, but also in Sudoc network
-# melm 461$9    Host-Item-Number
-
-############## 5XX - TITLES ##################
-melm 500$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 501$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 503$9    Koha-Auth-Number,Koha-Auth-Number:n
-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 560$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
-melm 560               Title,Title:p
-
-########### SUBJECTS (6xx) ##################
-melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 607$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 608$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 615$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 616$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 617$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 620$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 621$9      Koha-Auth-Number,Koha-Auth-Number:n
-
-melm 600$a              Personal-name,Personal-name:p,Subject,Subject:p
-melm 600                Subject,Subject:p
-melm 601$a              Corporate-name,Conference-name,Corporate-name:p,Conference-name:p
-melm 601                Subject,Subject:p
-melm 602$a    Personal-name,Personal-name:p
-melm 602    Subject,Subject:p
-melm 604                Subject,Subject:p
-melm 605                Subject,Subject:p
-melm 606                Subject,Subject:p
-melm 607        Subject,Subject:p
-melm 608                Subject,Subject:p
-melm 610                Subject,Subject:p
-melm 615                Subject,Subject:p
-melm 616                Subject,Subject:p
-melm 617                Subject,Subject:p
-melm 620                Subject,Subject:p
-melm 621                Subject,Subject:p
-# Technical details access // see Marc21 753. Seems deprecated.
-# melm 626                Subject,Subject:p
-# Geographic area code // see Marc21 043. Probably not useful
-# melm 660                Subject,Subject:p
-# Chronological coverage code. Probably not useful
-# melm 661                Subject,Subject:p
-
-########### CLASSIFICATIONS (67x/68x) ##################
-# PRECIS
-melm 670               Subject-precis:w,Subject-precis:p
-# Universal Decimal Classification // see Marc21 080
-melm 675$a             UDC-classification:w,UDC-classification:p,UDC-classification:s
-# Dewey // see Marc21 082
-melm 676$a             Dewey-classification:w,Dewey-classification:p,Dewey-classification:s
-# LC // see Marc21 050
-melm 680$b             LC-call-number:s
-melm 680               LC-call-number:w,LC-call-number:p
-# Other class numbers // see Marc21 084
-melm 686               Local-classification:w,Local-classification:p
-
-############## KOHA ITEM INFORMATION (based on 995) ###############
-# Koha specific : $1, $2, $3
-melm 995$1    damaged,damaged:n
-melm 995$2    lost,lost:n
-melm 995$3    withdrawn,withdrawn:n
-
-# most subfields are based on "995 recommandation"
-# used by French libraries for exchanging holding information
-# source: http://www.abes.fr/content/download/1949/8319/version/1/file/pdf_r995.pdf
-# (last version, 2005)
-# Note that :
-# - the use of $e,$h,$j in Koha and in 995 recommandation is different
-# - $i, $m, $l, $o, $p, $q, $v, $w, $x, $y, $z are defined in 995 recommandation, but not used by Koha
-
-# 6 blocs of subfields are defined in 995 recommandation
-
-# 1. Information about origin of the document
-# $a - Origin of the document, free text
-# Not used in Sudoc network
-melm 995$a    homebranch,Host-item,item
-# $a - Origin of the document, coded information
-melm 995$b    homebranch,Host-item,item
-# $c - Lending or holding library - free text
-melm 995$c    holdingbranch,Record-Source,item
-
-# 2. Identification and classification
-# $e - shelving information
-# (in 995 recommandation : $e - detailed genre)
-melm 995$e    location,location:p,item
-# $f - barcode - complete
-melm 995$f    barcode,barcode:p,item
-# $h - ccode
-# (in 995 recommandation : $h - barcode - prefix)
-melm 995$h    ccode,ccode:p,item
-# $i - not used currently
-# (in 995 recommandation : $i - barcode - suffix)
-# $j - LC-card-number,
-# (in 995 recommandation : $j - section, i.e. part of a library)
-# $k - callnumber
-melm 995$k    Call-Number,Local-classification,Call-Number:p,Local-classification:p,Local-classification:s,item
-# $l - not used currently
-# (in 995 recommandation : $l - volumes)
-
-# 3 - Checkout and deposal information
-# $m - not used currently
-# (in 995 recommandation : $m - Date of loan or deposit)
-# $n - Expiration of loan
-melm 995$n    onloan:d,onloan:n,onloan:s,onloan:w,item
-# $o - not used currently
-# (in 995 recommandation : $o - Circulation type (not for loan))
-
-# 4 - Sorting and statistic information
-# $p - not used currently
-# (in 955 recommandation : $p - Serial)
-# $q - not used currently
-# (in 995 recommandation : $q - Target audience (age))
-# $r - Type of document and carriage
-# (see above)
-# $s - not used currently
-# (in 995 recommandation : $s - Sorting element)
-# $t - not used currently
-# (in 995 recommandation : $t - Genre : fiction vs non-fiction)
-
-# 5 - Notes
-# $u - item note
-melm 995$u    Note,Note:p,item
-# $v - not used currently
-# (in 995 recommandation : $v - serial issue note)
-
-# 6 - Target of document
-# $w - not used currently
-# (in 995 recommandation : $w - target library - free text)
-# $x - not used currently
-# (in 995 recommandation : $x - target library - coded information)
-# $y - not used currently
-# (in 995 recommandation : $y - target network of libraries - free text)
-# $z - not used currently
-# (in 995 recommandation : $z - target network of libraries - coded information)
-
-melm 995    item   # just to index every subfield
-
-### biblioitems information (based on 942) ######
-melm 942$0      totalissues:n,totalissues:s
-### 942 local info - may want to use this if you're using the English UNIMARC frameworks
-###melm 942$0      popularity:n,popularity:s,item
diff --git a/etc/zebradb/retrieval-info-auth-grs1.xml b/etc/zebradb/retrieval-info-auth-grs1.xml
deleted file mode 100644 (file)
index f1f8898..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<retrievalinfo xmlns="http://indexdata.com/yaz">
-  <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
-  <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
-  <retrieval syntax="xml" name="marcxml"
-             identifier="info:srw/schema/1/marcxml-v1.1">
-    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="dc">
-    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="mods">
-    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="rdfdc">
-    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
-    </backend>
-  </retrieval>
-  <retrieval syntax="xml" name="utils">
-    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
-      <marc inputformat="marc" outputformat="marcxml"
-            inputcharset="utf-8"/>
-      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
-    </backend>
-  </retrieval>
-</retrievalinfo>
diff --git a/etc/zebradb/zebra-authorities.cfg b/etc/zebradb/zebra-authorities.cfg
deleted file mode 100644 (file)
index 609aa29..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-
-# Simple Zebra configuration file that defines
-# a database with MARCXML records.
-# $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__/authorities:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
-
-encoding: UTF-8
-# modulePath - where to look for loadable zebra modules
-modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib64/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules/
-
-# Files that describe the attribute sets supported.
-attset: bib1.att
-attset: explain.att
-attset: gils.att
-
-#systag sysno rank
-
-# Specify record type
-# group   .recordType[  .name  ]:  type
-# type is split into fundamental type. file-read-type . argument
-# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
-# http://www.indexdata.dk/zebra/doc/grs.tkl
-
-# Can use -g iso2709 to batch index raw iso2709 records in a single or
-# multiple files, or marcxml records that are split into separate files
-# the trailing .record tells zebraidx to use record.abs
-iso2709.recordType:grs.marcxml.record
-
-# Can use -g marcxml to batch index marcxml files
-# zebraidx uses record.abs because of <record> is the root element
-marcxml.recordType:grs.sgml
-
-# Koha uses grs.xml internally when updating a single record, no idea
-# why it knows to use record.abs
-recordType:grs.xml
-
-recordId: (bib1,Local-Number)
-# was auth1
-storeKeys:1
-storeData:1
-
-# Lock File Area
-lockDir: __ZEBRA_LOCK_DIR__/authorities
-#perm.anonymous:ar
-perm.__ZEBRA_USER__:rw
-passwd: __ZEBRA_CONF_DIR__/etc/passwd
-register: __ZEBRA_DATA_DIR__/authorities/register:20G
-shadow: __ZEBRA_DATA_DIR__/authorities/shadow:20G
-
-# Temp File area for result sets
-setTmpDir: __ZEBRA_DATA_DIR__/authorities/tmp
-
-# Temp File area for index program
-keyTmpDir: __ZEBRA_DATA_DIR__/authorities/key
-
-# Approx. Memory usage during indexing
-memMax: 50M
-rank:rank-1
-
diff --git a/etc/zebradb/zebra-biblios.cfg b/etc/zebradb/zebra-biblios.cfg
deleted file mode 100644 (file)
index 2581ecf..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-# Simple Zebra configuration file that defines
-# a database with MARCXML records.
-# $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__/biblios:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
-# modulePath - where to look for loadable zebra modules
-modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib64/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules/
-
-encoding: UTF-8
-# Files that describe the attribute sets supported.
-attset: bib1.att
-attset: explain.att
-attset: gils.att
-
-# systag sysno rank
-
-# Specify record type
-# group   .recordType[  .name  ]:  type
-# type is split into fundamental type. file-read-type . argument
-# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
-# http://www.indexdata.dk/zebra/doc/grs.tkl
-
-# Can use -g iso2709 to batch index raw iso2709 records in a single or
-# multiple files, or marcxml records that are split into separate files
-# the trailing .record tells zebraidx to use record.abs
-iso2709.recordType:grs.marcxml.record
-
-# Can use -g marcxml to batch index marcxml files
-# zebraidx uses record.abs because of <record> is the root element
-marcxml.recordType:grs.sgml
-
-# Koha uses grs.xml internally when updating a single record, no idea
-# why it knows to use record.abs
-recordType:grs.xml
-
-recordId: (bib1,Local-number)
-storeKeys:1
-storeData:1
-
-
-# Lock File Area
-lockDir: __ZEBRA_LOCK_DIR__/biblios
-#perm.anonymous:ar
-perm.__ZEBRA_USER__:rw
-passwd: __ZEBRA_CONF_DIR__/etc/passwd
-register: __ZEBRA_DATA_DIR__/biblios/register:20G
-shadow: __ZEBRA_DATA_DIR__/biblios/shadow:20G
-
-# Temp File area for result sets
-setTmpDir: __ZEBRA_DATA_DIR__/biblios/tmp
-
-# Temp File area for index program
-keyTmpDir: __ZEBRA_DATA_DIR__/biblios/key
-
-# Approx. Memory usage during indexing
-memMax: 50M
-rank:rank-1
-truncmax: 1000000000
-
-# Specifies the maximum number of records that will be sorted in a result set.
-# If the result set contains more than that limit, the records after the limit
-# will not be sorted. If omitted, the default value is 1,000.
-sortmax: 1000